Skip to content
Snippets Groups Projects
Select Git revision
  • 1b316b32a63cf872e96731ed573fcb733abfc07b
  • main default
  • tp2
  • tp1
  • tp3
  • tp3-correction
  • tp2-correction
  • tp1-correction
  • admins
9 results

expression.py

Blame
  • Forked from an inaccessible project.
    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);