Personal portfolio website for Regina Carvalho. Built with Famous.js library.

app.js 1.1KB

    'use strict'; /** * @ngdoc overview * @name domainManagerApp * @description * # domainManagerApp * * Main module of the application. */ angular .module('goApp', [ 'ui.router', 'ngAnimate', 'ngCookies', 'ngResource', 'ngSanitize', 'ngTouch', 'famous.angular', 'ngFx', 'goApp.data', 'goApp.index', 'goApp.background', 'goApp.navigation', 'goApp.slideshow', 'goApp.slider', ]) .config(['$stateProvider', '$urlRouterProvider', function($stateProvider, $urlRouterProvider) { // Configs //Enable cross domain calls //$httpProvider.defaults.useXDomain = true; //Remove the header used to identify ajax call that would prevent CORS from working //delete $httpProvider.defaults.headers.common['X-Requested-With']; // UI router $stateProvider .state('/', { url: "/", templateUrl: 'views/index.html', controller: 'IndexController' }) .state('slideshow', { url: "/:slideshow", templateUrl: "views/slideshow.html", controller: 'SlideshowController' }) }])