Last active
June 12, 2018 21:08
-
-
Save fsblemos/7836519afd89a35fe90a5a65edc54308 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$routeProvider.when('/gateway', angularAMD.route({ | |
templateUrl: '/app/gateway/gatewayTemplate.html', | |
controller: 'gatewayController' | |
})); | |
const $route = $routeProvider.$get[$routeProvider.$get.length - 1]({ $on: function () {} }); | |
$route.routes['/gateway'].regexp = /^\/sales.*$/; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment