Noob access to administer your local area network and wifi access:
http://192.168.254.254
username: user
password: @l03e1t3| App.factory('socket', ['$rootScope', | |
| function($rootScope) { | |
| var socket = io.connect('127.0.0.1:8080'); | |
| return { | |
| on: function(eventName, callback) { | |
| //set up callback wrapper temp var so we can return it later | |
| var temp = function() { | |
| var args = arguments; | |
| $rootScope.$apply(function() { | |
| callback.apply(socket, args); |
| <?php | |
| V8Js::registerExtension('hogan-compiler.js',file_get_contents('hogan-2.0.0.js'),array(),false); | |
| class HoganCompiler extends V8Js | |
| { | |
| public $template; | |
| private $expose; | |
| private $result; |
| $scope.fetchData = function() { | |
| if ($scope.async) { | |
| $scope.async.reject(); | |
| } | |
| $scope.async = testAsync(); | |
| $scope.async.promise.then( | |
| function(data){ | |
| console.log('success' + data); | |
| }, |