add element to beginning of array angularjs