move to ngmodel and add abs path var