Re: [AngularJS] Can you tell me what this routing code is doing?

2014-08-19 Thread Jonathan Matthew Beck
Thanks. I tested the app yesterday, removed all elements from pages (partials/directives) and just navigated from page to page. The memory the app uses increases steadily until the eventually it crashes. I am trying to figure out what is not getting released. The resolve: { init: is basically

Re: [AngularJS] Can you tell me what this routing code is doing?

2014-08-19 Thread Mark Volkmann
On Tue, Aug 19, 2014 at 7:24 AM, Jonathan Matthew Beck dnc@gmail.com wrote: Thanks. I tested the app yesterday, removed all elements from pages (partials/directives) and just navigated from page to page. The memory the app uses increases steadily until the eventually it crashes. I am

[AngularJS] Can you tell me what this routing code is doing?

2014-08-18 Thread Jonathan Matthew Beck
I came into a project and found things like this in the routing: .when('/home', { templateUrl: 'partials/home.html', controller: 'HomeController as vm', resolve: { init: ['dataService',

Re: [AngularJS] Can you tell me what this routing code is doing?

2014-08-18 Thread Mark Volkmann
On Mon, Aug 18, 2014 at 2:53 PM, Jonathan Matthew Beck dnc@gmail.com wrote: I came into a project and found things like this in the routing: .when('/home', { templateUrl: 'partials/home.html', controller: 'HomeController as vm',