implementation of angular, karma, and rails