Skip to content

Instantly share code, notes, and snippets.

@EnchanterIO
Created November 3, 2014 14:48
Show Gist options
  • Save EnchanterIO/b9c1c2e1d04b53d4003c to your computer and use it in GitHub Desktop.
Save EnchanterIO/b9c1c2e1d04b53d4003c to your computer and use it in GitHub Desktop.
controller example
'use strict';
Challenge
.controller('challengeCtrl', ['$scope','$routeParams', '$location','$timeout', 'Challenge','CUPLOAD','MB','UploadHelper','$modal','$filter', 'usSpinnerService','Trans',
function($scope, $routeParams, $location, $timeout, Challenge, CUPLOAD, MB, UploadHelper, $modal, $filter, spinner, Trans) {
Trans.load('challenges');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment