Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block ctmcquilkin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ctmcquilkin / Nested_ng-repeats
Last active Aug 3, 2016
An example of how to get data out of an elaborate JSON file from SO:
View Nested_ng-repeats
<!DOCTYPE html>
<html lang="en" ng-app="root">
<title>Crazy nested ng-repeat example</title>
<body ng-controller="repeatCtrl">
<div ng-repeat="week in myData">
<div ng-repeat="day in week.days">
{{day.dow}} - {{day.templateDay}}
View firebase_remove_pushed.js
function pushSomething(ref) {
// Let's push something. push() returns a reference that you can hold onto!
var justPushed = ref.push({test: "push"});
// We return a reference, but you can also return the name of the newly
// created object with .name().
return justPushed;
function removeItem(ref) {
// Now we can get back to that item we just pushed via .child().
You can’t perform that action at this time.