Skip to content

Instantly share code, notes, and snippets.

@jimmycann
Created April 3, 2016 01:02
Show Gist options
  • Save jimmycann/31a3b95c594e147fde4f689cb71ad4fd to your computer and use it in GitHub Desktop.
Save jimmycann/31a3b95c594e147fde4f689cb71ad4fd to your computer and use it in GitHub Desktop.
Angular Tinify S3 - app.js
'use strict';
angular.module('angular-tinify-s3', [
'ui.router', 'ngFileUpload', 'ngSanitize'
]).config(function($stateProvider, $urlRouterProvider, $locationProvider) {
$urlRouterProvider.otherwise('/');
$stateProvider.state('base', {
url: '/',
templateUrl: 'view/upload.html',
controller: 'uploadCtrl'
});
$locationProvider.html5Mode(true);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment