update readme, refactor to call ctrl methods from directive