'use strict'; //Load controller angular.module('acufuel') .controller('updateFuelManagerController', ['$scope','$uibModal', 'updateFuelManagerService','$state', function($scope , $uibModal, updateFuelManagerService,$state) { $scope.showLoader = true; $scope.yes = function(data){ // console.log('========'); //console.log('value', data); $uibModal.yes({ templateUrl: 'partials/pricingcontact/pricingcontact.html', backdrop: true, scope: $scope, }) } $scope.options = { language: 'en', allowedContent: true, entities: false }; // Called when the editor is completely ready. $scope.onReady = function () { // ... }; $scope.userProfileId = JSON.parse(localStorage.getItem('userProfileId')); function getAtypeFunction(){ updateFuelManagerService.getATypeJets($scope.userProfileId).then(function(result) { for (var i = 0; i