text: /**
  @toc
  1. setup - whitelist, appPath, html5Mode
  */
  
  'use strict';
  
  
  
  angular.module('myApp', [
  'ngRoute', 'ngSanitize', 'ngTouch',	'ngLocale', 'ngWebSocket', 'ngMaterial', 'ngSpinclient'
  ]).
  config(['$routeProvider', '$locationProvider', '$compileProvider', function($routeProvider, $locationProvider, $compileProvider) {
  	/**
  	setup - whitelist, appPath, html5Mode
  	@toc 1.
  	*/
  	$locationProvider.html5Mode(false);		//can't use this with github pages / if don't have access to the server
  	
  	// var staticPath ='/';
  	var staticPath;
  	// staticPath ='/angular-services/angular-spinclient/';		//local
  	staticPath ='';		//nodejs (local)
  	// staticPath ='/angular-spinclient/';		//gh-pages
  	var appPathRoute ='/';
  	var pagesPath =staticPath+'pages/';
  	
  	
  	$routeProvider.when(appPathRoute+'home', {templateUrl: pagesPath+'home/home.html'});
  
  	$routeProvider.otherwise({redirectTo: appPathRoute+'home'});
  	
  }]);