Giter Site home page Giter Site logo

grumblr_angular's Introduction

Grumblr Angular

Day 1 - Controllers and Directives

In-Class Starter Code

$ git clone [email protected]:ga-dc/grumblr_angular.git

In-Class Solution

$ git checkout -b controllers-and-directives origin/controllers-and-directives
$ bower install

Homework Starter Code

$ git checkout -b controllers-and-directives origin/controllers-and-directives

For homework tonight, please add CRUD functionality for comments to this application.

Start by adding some seed data to the grumbles controller: https://github.com/ga-dc/grumblr_angular/blob/controllers-and-directives/js/controllers/grumbles.js#L4

Then display the comments on the page using ng-repeat

Allow the user to toggle a new and edit form for comments. When the user submits the form, add or remove the comment from this.grumbles in the controller.

Homework Solution

$ git checkout -b controllers-and-directives-with-comments origin/controllers-and-directives-with-comments

Day 2 - Templating, Routing, and Services

Using the angular router requires a local server using http (not the file:// protocol.)

$ python -m SimpleHTTPServer

In-Class Starter Code

$ git checkout -b controllers-and-directives-with-comments origin/controllers-and-directives-with-comments
$ bower install

In-Class Solution

$ git checkout -b templating-and-routing origin/templating-and-routing

Homework Starter Code

$ git checkout -b templating-and-routing origin/templating-and-routing

Homework Solution

$ git checkout -b templating-and-routing-with-comments origin/templating-and-routing-with-comments

Day 3 - Firebase and Custom Directives

In-Class Starter Code

$ git checkout -b templating-and-routing-with-comments origin/templating-and-routing-with-comments

In-Class Solution

$ git checkout -b firebase-and-directives origin/firebase-and-directives

Homework Starter Code

$ git checkout -b firebase-and-directives origin/firebase-and-directives

grumblr_angular's People

Contributors

jshawl avatar amaseda avatar phantomhaircuts avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.