Skip to content

Instantly share code, notes, and snippets.

View geminiyellow's full-sized avatar
🌴
On vacation

geminiyellow geminiyellow

🌴
On vacation
View GitHub Profile
@geminiyellow
geminiyellow / app.js
Last active August 29, 2015 14:20 — forked from krtek/app.js
angular.module('app', ['ngRoute', 'app.core', 'app.user', 'app.settings'])
.config(function($routeProvider, $locationProvider) {
$routeProvider.when('/home', {
templateUrl: 'partials/home.html',
controller: 'HomeCtrl'
});
//Handle all exceptions
$routeProvider.otherwise({
redirectTo: '/home'
initialize: ->
@bind 'all', @_trackPageview
_trackPageview: ->
url = Backbone.history.getFragment()
_gaq.push(['_trackPageview', "/#{url}"])
/*
Infinite List View
creates <ul> with triggers for infinite scrolling
@author Kevin Jantzer, Blacktone Audio Inc.
@since 2012-11-06
USE - listen for: