Adding new angular libraries
The following assumes the user is in
Our build system uses Bower, so if at all possible, the library should be installed through it:
bower install <package name> -S
where -S ensures that it is written into bower.json so it gets recorded into the repo. Package is then installed into
For our application to load the library, a script tag needs to be added to
depending on if it is needed by only the teacher environment, embed code or both (respectively).
Also, if it is an angular module that requires access to the main angular app/module line, that line can be found at
app/scripts/comparison/(app|embed).js (app for teacher environment, embed for embed).