Hi
I use in my application ngRoute:
var app = angular.module('App', ['ngRoute', 'KoServices'])
.config(function($routeProvider, $locationProvider) {
$locationProvider.html5Mode(true);
$routeProvider
.when('/login', {
templateUrl: "./templates/content/loginform.html",
controller: 'loginController'
})
.when('/pwforget', {
templateUrl: "./templates/content/password.forget.html",
controller: 'passwordForgetController'
})
.when('/show', {
templateUrl: "./templates/content/listview.html",
controller: 'listViewController'
})
.otherwise({redirectTo: '/login'});
});
This is working, the content of the template "loginform.html" is showing.
But whene i make changes in this File, or delte the File from Server, nothing
is happens.
The template shows every time the same content.
Is there a place, angularjs cache the content?
greet andy
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.