moved example content to scope variables in controller