added some more functionality to backbone and angular