Playing around in AngularJS, creating a chrome browser extension