restart as angular directive
making angular module for simplewebrtc