Skip to content

Instantly share code, notes, and snippets.



Last active Aug 29, 2015
What would you like to do?
Google Analytics Experiments in AngularJS - app.js
'use strict';
angular.module('myStoreApp', [
.when('/', {
templateUrl: 'list.html',
controller: 'ListController'
.when('/product/:id', {
templateUrl: 'product.html',
controller: 'ProductController'
redirectTo: '/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment