Working test accessing a service via attribute on window object.