Pass in flavor as string in controller to directive