Revisions
-
darrencauthon revised this gist
Mar 10, 2013 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,6 +13,8 @@ :plain function RegistrationsCtrl($scope) { $scope.registrations = []; var registration_list = new Firebase('https://lusl-dev.firebaseIO.com/summer_league_2013/registrations'); registration_list.on('child_added', function(child) { var reg = child.val(); -
darrencauthon revised this gist
Mar 10, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ .player-info :javascript :plain function RegistrationsCtrl($scope) { -
calebcauthon created this gist
Mar 10, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ %h2 Registrations .row{:"ng-controller" => "RegistrationsCtrl"} .span6 %ul.players %li{:"ng-repeat" => "person in registrations"} {{person.name}} .span6 .player-info %script{:type => "text/javascript"} :plain function RegistrationsCtrl($scope) { var registration_list = new Firebase('https://lusl-dev.firebaseIO.com/summer_league_2013/registrations'); registration_list.on('child_added', function(child) { var reg = child.val(); $scope.registrations.push(reg); }); };