Cleans the javascript
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
var controllers = angular.module('satbd.satellite.bar.controllers',[
|
||||
'ui.bootstrap',
|
||||
'ngAnimate'
|
||||
]);
|
||||
|
||||
controllers.controller('NavBarCtrl',function($scope,$location,$uibModal) {
|
||||
"use strict";
|
||||
|
||||
$scope.isCollapsed = true;
|
||||
$scope.isActive = function(loc) {
|
||||
return loc === $location.path();
|
||||
@@ -15,7 +15,7 @@ controllers.controller('NavBarCtrl',function($scope,$location,$uibModal) {
|
||||
if (searchTerms) {
|
||||
$location.url('/search?q='+ encodeURIComponent(searchTerms));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
$scope.openHelpModal = function () {
|
||||
var modalInstance = $uibModal.open({
|
||||
|
||||
Reference in New Issue
Block a user