"api/urls.py" did not exist on "1ff88c27c412913888c9502b8eb8640fa65a03af"
Select Git revision
serializers.py
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);