Trying to learn AngulareJS got stuck with this.
This is the code :
app.config(function ($routeProvider){ $routeProvider .when(\'/\', {
Thanks guys,this is what I wanted
.when('/expression/:expressionId/type/:typeId', { templateUrl: function(params) { return '/sort/' + params.expressionId +'/'+ params.typeId ; }, controller: 'tasksController' });