title: Angular route with sailsjs
body: <p>I use sailjs with angular problem is when I <code>GET</code> with url
  <code>cate/:id/new</code>
  my link is like <code>http://localhost:1337/category/5540ba9975492b9155e03836/new</code></p>
  
  <p>how angular know my ID is?</p>
  
  <p>I have try ngRoute but when I console.log it return <code>Object {}</code></p>
  
  <p>my <code>module.js</code></p>
  
  <pre><code>angular.module('DeviceModule', ['toastr', 'ngRoute']);
  </code></pre>
  
  <p>my <code>controller.js</code></p>
  
  <pre><code>angular.module('DeviceModule').controller('DeviceController', ['$scope', '$http', 'toastr', '$routeParams', function($scope, $http,     toastr, $routeParams){
  
  $scope.params = $routeParams;
  console.log($scope.params);
  
  }])
  
  .config(function($routeProvider, $locationProvider) {
    $routeProvider
     .when('/category/:Id/new', {
     //templateUrl: 'book.html',
     controller: 'DeviceController',
    })
  });
  </code></pre>