set fdrModel on scope, inline html is prone to errors due to issues with quotes