diff options
author | Teddy Wing | 2017-02-03 21:26:16 +0100 |
---|---|---|
committer | Teddy Wing | 2017-02-03 21:26:16 +0100 |
commit | 75c818e34328b38fdd7fd143b17663c00846cc80 (patch) | |
tree | 0d76374cde5c407d14e23b8350108c59c2aad5bb /app | |
parent | 21d734fc8047ea2a228cb7c951e0f966d20b8ff7 (diff) | |
download | Angular-tutorial-75c818e34328b38fdd7fd143b17663c00846cc80.tar.bz2 |
application.html.erb: Declare ngApp
Set ngApp on the `<html>` attribute of the layout template. Calling it
"Notes" since this is a note app. Using the `n` prefix to
separate/namespace application/project modules from other included
modules.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/layouts/application.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 26a30ae..53c091b 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html> +<html ng-app="n.Notes"> <head> <title>NotesApp</title> <%= csrf_meta_tags %> |