Began porting to Angular JS