Created
May 12, 2017 18:49
-
-
Save giancarlosisasi/cb99c1e4ff9cc8be566a1a1e2826a17d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function() { | |
| "use strict"; | |
| angular.module('app') | |
| .controller('GeneralCtrl', GeneralCtrl); | |
| GeneralCtrl.$inject = ['$timeout', 'EnterpriseService', 'TouchPointService']; | |
| function GeneralCtrl($timeout, EnterpriseService, TouchPointService) { | |
| var vm = this; | |
| vm.test = 'test general trip'; | |
| vm.journeys = []; | |
| vm.loading = true; | |
| EnterpriseService.journeys().then(function(data){ | |
| vm.journeys = data.data.journeys; | |
| vm.loading = false; | |
| }) | |
| } | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment