Posts by Diego Laucsen • 76 points
2 posts
-
4
votes4
answers277
viewsA: How do the objects created following Singleton work?
Maybe start by looking at memory pointers. View this situation using NEW var a = new Object('Some Object A'); var b = new Object('Some Object B'); In this code we have two objects created in two…
-
2
votes3
answers122
viewsA: timeout in Angularjs
To do what you want, whenever the application starts you redirect the route to any screen, for this, do a state go in the run: angular.module('myApp', []) .config(something => {}) .run(function…