Replacing backboneJS with angularJS