added controller and templateUrl options and tests