angularjs controlling svg