Simple hex excercises

app.js 501B

12345678910111213141516
  1. 'use strict';
  2. angular.module("hexmeh", [])
  3. .config(["$routeProvider", "$locationProvider", function ($routeProvider, $locationProvider) {
  4. //$locationProvider.html5Mode(true);
  5. $routeProvider.when("/", {
  6. controller: MainController,
  7. templateUrl: "partials/intro.html"
  8. })
  9. .otherwise({
  10. controller: MainController,
  11. templateUrl: "partials/intro.html"
  12. });
  13. //.otherwise({ redirectTo: "/" });
  14. }]);