Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function() {
- "use strict";
- angular.module("PW.internal", []).controller("internal", ["$scope", "$api", "$interval", "$timeout", function($scope, $api, $interval, $timeout) {
- //http://stackoverflow.com/questions/27533386/angular-passing-params-from-routeprovider-to-controller
- //1
- //var paramValue = $api.current.$$api.paramExample;
- //console.log(paramValue);
- //2
- // $scope.test = $routeParams.test;
- }]);
- })();
Add Comment
Please, Sign In to add comment