#INSTALLING MEAN STACK
- sudo apt-get update -qq
- sudo apt-get install gcc make build-essential
- npm rebuild
- npm install -g bower
- npm install -g node-sass
- npm install -g autoprefixer
- npm install -g gulp
- npm install -g gulp-sass
#INSTALLING MEAN STACK
| /** | |
| * First is the Angular Directive method of solving. | |
| * Second is the inline onerror fix that results in a default image. | |
| * SOURCE: http://stackoverflow.com/questions/27549134/angularjs-ng-src-condition-if-not-found-via-url | |
| */ | |
| var myApp = angular.module('myApp',[]); | |
| myApp.directive('onErrorSrc', function() { | |
| return { |