I'm following the course Staying Sharp With AngularJs.
The course put some code in app.ts
:
angular
.module("NoteWrangler", ["ngRoute"])
.config(function ($routeProvider: angular.route.IRouteProvider) {
$routeProvider
.when("/notes", {
templateUrl: "templates/pages/notes/index.html"
});
});
Ok, so the links are formed like this:
somedomain/index.html/#/myPage
But when I try my urls are build like this:
somedomain/index.html#!/myPage
Why the difference?
Between ".../#/..."
and "...#!/..."
I mean.
How can I change between these two?