Finished merging local prototype with angular