Skip to content
Snippets Groups Projects
Select Git revision
  • bf393784e08a9b0c5fc7eb319e9053a3cf3232ff
  • master default
2 results

serializers.py

Blame
  • controller.js 789 B
    /**
     * Created by jeremyguiselin on 10/12/2016.
     */
    
     (function (angular) {
       "use strict";
    
       /**
        * @ngdoc controller
        * @name InfoController
        *
        * @description
        * Controller for the info page.
        *
        * @ngInject
        */
       function InfoController(
         $ionicHistory,
         $scope
       ) {
    
         var deregistrationCallbackList = [];
    
         // cleanup
         $scope.$on('$destroy', function(){
           angular.forEach(
             deregistrationCallbackList,
             function(deregistrationCallback){
               deregistrationCallback();
           });
           deregistrationCallbackList = null;
         });
    
         $scope.myGoBack = function() {
           $ionicHistory.goBack();
         };
       }
    
       angular.module('starter')
         .controller('InfoController', InfoController);
     })(angular);