Hi Kiran,
Drop you directive, its doing you more harm then good.
Try this:
<div pubpri>
<span ng-if="userprofile.pubpriEmail">Email ID<b>:</b>
{{userprofile.useremail}} </span>
<div ng-if="userprofile.result" >
<label class="label-radio inline" style="padding-left: 850px !
important;">
<input type="radio" name="pubpriemail" ng-model=
"userprofile.pubpriEmail" value="201">
<span class="custom-radio"></span> Public
</label>
<label class="label-radio inline">
<input type="radio" name="pubpriemail" ng-model=
"userprofile.pubpriEmail" value="202">
<span class="custom-radio"></span> Private
</label>
</div>
<div>
If you use Angular, and you feel you need to use an ID on a element, you
are probably doing it wrong. If you really want to learn Angular, then drop
jQuery for the time you are learning, and start off with working your way
trough the tutorial <https://docs.angularjs.org/tutorial> and through the
CodeSchools
course <http://angular.codeschool.com/>.
when you have done both, go ahead, and read the styleguide
<https://github.com/johnpapa/angular-styleguide>.
When you have difficulties after that, we will be happy to help you.
Regards
Sander
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.