Bash scripts to create script for angularjs