Fixed Error in Angular Code - part 3