Use global var to manage editing instead of model field.
Renders page when angular and db are ready.
Updates html ids.
Add upload files mechanism -> need server side now.