UNPKG

api-explorer

Version:

Easily create an interactive documentation for your RESTful API

8 lines (7 loc) 249 B
"use strict"; angular.module(APP_NAME_CONTROLLERS).controller('IndexController', ['$scope', '$location', function($scope, $location) { $scope.isActive = function(route) { return route === $location.path(); } }]);