Added a simpler native implementation the 'Angular way'.