The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
###Intro Ruby
###Ruby Methods
##Creating an App using Angular
ng-*
(ex. an angular-style href
is called ng-href
)ng-*
attributes are called directives
, and they allow us to add behavior to HTML. Directive HTML tags tell Angular to run or reference Angular codeng-app
turns ordinary HTML into an Angular application. You will need Angular loaded into your project (via a package manager or CDN) for this to workng-controller
connects a controller (a JavaScript file containing logic) to a section of our application.ng-model
ties together (binds) values in HTML and data in the controller.###Express
npm
to initialize a node project###Params and Routes
###Git & Github
###HTML & CSS
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |