fix(typeahead)changed from $digest to $apply

change to $apply to evaluate watchers on parent scope
use case would be when using directive in a tab that created
a child scope of the main controller
fix render function for undefined or null values