Makes things work a little nicer for AngularJS