Git Product home page Git Product logo

26-angular-routing's Introduction

cf Lab 26 - Angular Routing

To Submit this Assignment

  • create a fork of this repository
  • push to your repository
  • submit a pull request to this repository
  • submit a link to your PR in canvas
  • write a question and observation on canvas

Include

  • .eslintrc
  • .babelrc
  • .gitignore
  • package.json
    • create an npm build script for running webpack
    • create an npm build-watch script for running webpack-dev-server --inline --hot
    • create an npm test script for running karma and all associated tests
    • create an npm test-watch script for running karma on file system changes
    • create an npm lint script for linting your JS with eslint
  • ignore the build directory
  • webpack.config.js
    • this should include all of the production environment configurations used in lecture code
  • karma.config.js

Directions

  • Create these directories to organize your code:
    • app
    • app/config
    • app/view
    • app/view/<your-views-dir>
    • app/scss
  • Include a main.scss file
    • add a layer of "lo-fi" styling - only use the following colors: #fff, #000, #444, #888
  • Include an entry.js file
    • use require.context to add all of your angular construct definitions

Requirements

  • Create three views /#/home, /#/signup/, /#/gallery
    • each view should have a controller
    • each controller should have a title property
    • each view should have a template
    • the template should use an angular expression to set the content of an <h1> to its controllers title property
    • each view should include a .scss file

Tests

  • Write a test to ensure that the title property is set for each controller
    • /test/home-controller-test.js
    • /test/gallery-controller-test.js
    • /test/signup-controller-test.js

26-angular-routing's People

Contributors

cejac avatar christophersclosser avatar geoffreycc avatar rubiksron avatar silvershotm1 avatar sjschmidt44 avatar spamalope01 avatar

Watchers

 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.