Angularjs Add To Array Matlab