fix(modal): Safer attribute parsing

Strings like `vertical flip` are invalid angular expressions, and should be
usable with Semantic-UI. So, the solution is to wrap $parse in try {} catch {}.

If the variable is meant to be an expression, the error is thrown because the
developer should know about this.