I hereby claim:
- I am jgroeneveld on github.
- I am jgroeneveld (https://keybase.io/jgroeneveld) on keybase.
- I have a public key whose fingerprint is 34F3 6BE2 AA7C DE7B CE9E 68E1 3BA5 C815 A1EA D4B4
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
- Read and understand Effective Go https://golang.org/doc/effective_go.html | |
code structure and look | |
======================= | |
- use rules from effective go | |
- always use gofmt/goimports to format code | |
- write code for the reader, a file should "tell a story" | |
- important and public code goes first |
This is a description on how to add AngularJS to a Rails App.
Put the angular javascript files into assets/javascripts/lib/angular-xxx
Add the libs to an index file (if you are not using anything else, application.js)
Add your apps dependencies to the same file
# app/assets/javascripts/application.js.coffee
#= require lib/angular-xxx/angular
#= require lib/angular-xxx/angular-route
#= require app/main