improve settings_local support.
loading videos on unit change using angularjs