Angular Array Get Last Element Of Vector