Skip to content

Instantly share code, notes, and snippets.

@fsblemos
Last active June 12, 2018 21:08
Show Gist options
  • Save fsblemos/7836519afd89a35fe90a5a65edc54308 to your computer and use it in GitHub Desktop.
Save fsblemos/7836519afd89a35fe90a5a65edc54308 to your computer and use it in GitHub Desktop.
$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