using angular as common.js dependency rather than global. Fixed a typo