Getting ready for Angular services/directives