diff --git a/app/index.html b/app/index.html index e9a600c..819d1de 100644 --- a/app/index.html +++ b/app/index.html @@ -24,6 +24,8 @@ + @@ -87,6 +89,7 @@ + @@ -100,6 +103,7 @@ + diff --git a/app/js/app.js b/app/js/app.js index 8d04206..1ee6377 100644 --- a/app/js/app.js +++ b/app/js/app.js @@ -1,7 +1,7 @@ 'use strict'; - angular.module('acufuel', ['nvd3', 'ngCookies', 'ngResource', 'ui.router', 'ngAnimate', 'ui.bootstrap', 'xeditable', 'ui.toggle', 'ngTable', 'ui.select2', 'ckeditor', 'ui.calendar', 'ngDragDrop']) + angular.module('acufuel', ['nvd3', 'ngCookies', 'ngResource', 'ngSanitize', 'ui.router', 'ngAnimate', 'ui.bootstrap', 'xeditable', 'ui.toggle', 'ngTable', 'ui.select2', 'ckeditor', 'ui.calendar', 'ngDragDrop', 'ui.select']) .config(['$httpProvider', function($httpProvider) { $httpProvider.defaults.withCredentials = true; diff --git a/app/partials/viewCompany/viewCompany.controller.js b/app/partials/viewCompany/viewCompany.controller.js index e27e139..6771956 100644 --- a/app/partials/viewCompany/viewCompany.controller.js +++ b/app/partials/viewCompany/viewCompany.controller.js @@ -12,6 +12,7 @@ $scope.showLoader = false; $scope.showUpdateBtn = false; $scope.userProfileId = JSON.parse(localStorage.getItem('userProfileId')); + $scope.selected = []; $(document).ready(function() { $("#reset").click(function() { @@ -19,6 +20,46 @@ }); }); + $scope.values = [ + {'id': 1, 'first': 'Tenant/Base Customer'}, + {'id': 2, 'first': 'FuelerLinx Customer'}, + {'id': 3, 'first': 'CAA Member'} + ]; + + $scope.changeValue = function(selected){ + $scope.showUpdateBtn = true; + console.log("data to be true", selected); + for (var i=0;i

+
+ + {{$item.first}} + + {{val.first}} + + + +

diff --git a/bower.json b/bower.json index 00fff66..4bdb0b0 100644 --- a/bower.json +++ b/bower.json @@ -38,6 +38,8 @@ "angular-ckeditor": "^1.0.3", "angular-ui-calendar": "^1.0.2", "angular-dragdrop": "^1.0.13", - "angular-nvd3": "^1.0.9" + "angular-nvd3": "^1.0.9", + "angular-ui-select": "~0.19.8", + "angular-sanitize": "~1.6.6" } }