Angular: directive independent of controller