Guest User

Untitled

a guest
May 12th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. (function() {
  2. "use strict";
  3.  
  4. angular.module("PW.internal", []).controller("internal", ["$scope", "$api", "$interval", "$timeout", function($scope, $api, $interval, $timeout) {
  5. //http://stackoverflow.com/questions/27533386/angular-passing-params-from-routeprovider-to-controller
  6.  
  7. //1
  8. //var paramValue = $api.current.$$api.paramExample;
  9. //console.log(paramValue);
  10.  
  11. //2
  12. // $scope.test = $routeParams.test;
  13. }]);
  14.  
  15. })();
Add Comment
Please, Sign In to add comment