1077. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 10/12/2018 4:05:04 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

1077.1 Files compared

# Location File Last Modified
1 Vetlink 2.0.zip\Vetlink 2.0\vetlink-web.zip\vetlink-web\vetlink\phonegap\vetlink\www\components templates.js Fri Aug 24 18:39:35 2018 UTC
2 Vetlink 2.0.zip\Vetlink 2.0\vetlink-web.zip\vetlink-web\vetlink\phonegap\vetlink\www\components templates.js Fri Oct 12 13:52:56 2018 UTC

1077.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 412
Changed 2 4
Inserted 0 0
Removed 0 0

1077.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

1077.4 Active regular expressions

No regular expressions were active.

1077.5 Comparison detail

  1   define(["a pp"], func tion(app)  {app.run([ "$template Cache", fu nction($te mplateCach e) {  'use  strict';
  2  
  3     $templat eCache.put ('componen ts/directi ves/access ibledatepi cker/acces sibledatep icker_temp late.html' ,
  4       "<sect ion class= \"datetime -picker\"  id=\"date- picker\" n g-keydown= \"detectEs cape($even t)\"><a ta bindex=\"2 00\" href= \"#\" focu s-me=\"foc usOn === ' close'\" n g-click=\" close($eve nt)\"><spa n aria-hid den=\"true \" class=\ "glyphicon  glyphicon -remove-ci rcle\"></s pan> <span  class=\"s r-only\">C lose date  picker</sp an></a><h1  tabindex= \"200\" cl ass=\"ui-t itle date\ " aria-lev el=\"1\" d ata-focus- me=\"true\ " aria-liv e=\"polite \" aria-at omic=\"tru e\"><span  class=\"sr -only\">Cu rrently Se lected Dat e - </span >{{formatt edDate}}</ h1><div cl ass=\"colu mns\"><div  id=\"mont hslist\" t abindex=\" 200\" clas s=\"month  column\" d ata-column -name=\"mo nth\" scro ll-to-valu e=\"dateCh osen.month \" aria-la bel=\"Mont hs\"><ul>< li ng-repe at=\"mon i n MONTHS\" ><button t abindex=\" -1\" type= \"month\"  ng-click=\ "dateclick ('month',  $index+1)\ " ng-class =\"{'too-s oon': unde rMinMonth( $index+1),  'too-late ': aboveMa xMonth($in dex+1), 's elected':  dateChosen .month ===  $index+1} \" ng-disa bled=\"und erMinMonth ($index+1)  || aboveM axMonth($i ndex+1)\"  data-value =\"{{$inde x+1}}\"><s pan class= \"sr-only\ ">{{MONTHS FRIENDLY[m on]}}</spa n><span ar ia-hidden= \"true\">{ {mon}}</sp an></butto n></li></u l></div><d iv id=\"da yslist\" t abindex=\" 200\" clas s=\"day co lumn\" dat a-column-n ame=\"day\ " scroll-t o-value=\" dateChosen .day\" ari a-label=\" Days\"><ul ><li ng-sh ow=\"daysI nMonth() > = $index+1 \" ng-repe at=\"i in  forNumber( 31) track  by $index\ "><button  type=\"day \" tabinde x=\"-1\" n g-click=\" dateclick( 'day', $in dex+1)\" n g-class=\" {'too-soon ': underMi nDate($ind ex+1), 'to o-late': a boveMaxDat e($index+1 ), 'select ed': dateC hosen.day  === $index +1}\" ng-d isabled=\" underMinDa te($index+ 1) || abov eMaxDate($ index+1)\"  data-valu e=\"{{$ind ex+1}}\">< span class =\"sr-only \">Day&nbs p;</span>{ {padZero($ index+1)}} </button>< /li></ul>< /div><div  id=\"years list\" tab index=\"20 0\" class= \"year col umn\" data -column-na me=\"year\ " scroll-t o-value=\" dateChosen .year\" ar ia-label=\ "Years\">< ul><li ng- repeat=\"i  in getYea rs(DATE_MI N.year, DA TE_MAX.yea r)\"><butt on type=\" year\" tab index=\"-1 \" ng-clic k=\"datecl ick('year' , i)\" ng- class=\"{' selected':  dateChose n.year ===  i}\" data -value=\"{ {i}}\"><sp an class=\ "sr-only\" >Year&nbsp ;</span>{{ i}}</butto n></li></u l></div></ div><div c lass=\"btn -group btn -group-jus tified\" i d=\"set-bu tton\"><a  tabindex=\ "200\" hre f=\"#\" fo cus-me=\"f ocusOn ===  'set'\" c lass=\"btn  btn-prima ry\" id=\" set-btn\"  ng-click=\ "set($even t)\" role= \"button\"  title=\"S et date to : {{format tedDate}}\ "><span cl ass=\"sr-o nly\">Set  date to: { {formatted Date}}</sp an> <span  aria-hidde n=\"true\" >SET</span ></a></div ></section >"
  5     );
  6  
  7  
  8     $templat eCache.put ('componen ts/directi ves/partia ls/profile _list_temp late.html' ,
  9       "<div> <div class =\"lead\"> <div class =\"smllhdr  text-cent er alert\"  data-ng-c lass=\"{'a lert-succe ss': profi leList.len gth > 0, ' alert-dang er': profi leList.len gth === 0} \">{{profi leList.len gth}} Vete ran{{profi leList.len gth !== 1  ? \"s\" :  \"\"}}</di v></div><d iv class=\ "container -fluid\">< div class= \"row has- margin-bel ow-10\" da ta-ng-repe at=\"vet i n profileL ist\"><div  class=\"c ol-xs-12\" ><a data-r eturn-focu s id=\"sea rchitem-{{ $index}}\"  data-ui-s ref=\"{{na vigateTo}} \" data-ng -click=\"s electProfi le($event,  vet)\" cl ass=\"col- xs-12 btn  btn-defaul t break-wo rd\" title =\"Click t o learn ab out this V eteran\" r ole=\"butt on\" aria- labelledby =\"profile ListVetIma ge{{$index }} profile ListVetInf o{{$index} }\"><div i d=\"profil eListVetIm age{{$inde x}}\" clas s=\"col-sm -6 col-xs- 12\" aria- hidden=\"t rue\"><div  data-ng-i f=\"vet.im ageUrl ===  undefined  || !vet.i mageUrl.sh ared || ve t.imageUrl .value===n ull || vet .imageUrl. value ===  ''\" class =\"pull-le ft\"><i id =\"defavat -{{$index} }\" class= \"glyphico n glyphico n-user def avat\" ari a-hidden=\ "true\"></ i> <span c lass=\"sr- only\">No  Picture</s pan></div> <div data- ng-if=\"ve t.imageUrl  !== undef ined && ve t.imageUrl .value !==  undefined  && vet.im ageUrl.val ue !== ''  && vet.ima geUrl.shar ed\" class =\"pull-le ft\"><!--s rc does no t get pars ed by angu lar--> <im g data-ng- src=\"{{im ageBase +  vet.imageU rl.value}} \" id=\"av atar-{{$in dex}}\" wi dth=\"50px \" height= \"50px\">  <span clas s=\"sr-onl y\">User P icture</sp an></div>< /div><div  id=\"profi leListVetI nfo{{$inde x}}\" clas s=\"col-sm -6 col-xs- 12 text-le ft break-w ord\" aria -hidden=\" true\"><st rong class =\"break-w ord\"><spa n class=\" sr-only\"> , Screen N ame: </spa n>{{vet.us erName}}</ strong><di v class=\" break-word \"><span d ata-ng-if= \"vet.firs tName.shar ed\"><span  class=\"s r-only\">,  First Nam e: </span> {{vet.firs tName.valu e}} </span ><span dat a-ng-if=\" vet.lastNa me.shared\ "><span cl ass=\"sr-o nly\">, La st Name: < /span>{{ve t.lastName .value}}</ span></div ><span dat a-ng-if=\" vet.servic e.shared\" ><span cla ss=\"sr-on ly\">, Aff iliation:  </span>{{v et.service .value}} < /span><spa n class=\" sr-only\"> , Click to  learn abo ut this Ve teran</spa n></div></ a></div></ div></div> </div>"
  10     );
  11  
  12  
  13     $templat eCache.put ('componen ts/directi ves/partia ls/profile _template. html',
  14       "<div  class=\"ro w\"><div c lass=\"con tain conta in-default  col-xs-12 \"><div cl ass=\"col- xs-12 col- sm-2\"><im g data-htt p-src=\"{{  myPhoto } }\" data-n g-if=\"myP rofile.ima geUrl && m yProfile.i mageUrl.va lue !== ''  && myProf ile.imageU rl.value ! == null\"  alt=\"{{ m yProfile.u serName +  '\\'s phot o'}}\" tit le=\"{{ my Profile.us erName + ' \\'s photo '}}\" heig ht=\"60px\ " width=\" 60px\"><di v class=\" glyphicon  glyphicon- user lgico n\" id=\"d efaultavat ar\" alt=\ "Default P icture\" t itle=\"Def ault Pictu re\" aria- hidden=\"t rue\" data -ng-if=\"! myProfile. imageUrl | | myProfil e.imageUrl .value ===  '' || myP rofile.ima geUrl.valu e === null \"></div>< /div><div  class=\"co l-xs-12 co l-sm-4\">< span class =\"bold to p-align\"  id=\"userg reeting\"  tabindex=\ "-1\" aria -hidden=\" true\">Hel lo {{myPro file.userN ame}}</spa n><div dat a-ng-if=\" selectedta b === 0\"> Total Comm ents: {{nu mberofpost s}}</div>< div><a id= \"viewmypr ofilebutto n\" class= \"btn btn- default\"  data-ui-sr ef=\"main. profile/pr eview\" da ta-ng-clic k=\"select Profile($e vent)\" ro le=\"butto n\">View M y Shared P rofile</a> </div></di v></div></ div>"
  15     );
  16  
  17  
  18     $templat eCache.put ('componen ts/directi ves/ui-com ponents/fo rm/control s/composit e/input-ca lendar-dat e-picker/b ootstrap-d atepicker_ template.h tml',
  19       "<div  ng-switch= \"datepick erMode\">< div uib-da ypicker ng -switch-wh en=\"day\"  tabindex= \"{{$paren t.$parent. $parent.ca lendarTabi ndex}}\" c lass=\"uib -daypicker \"></div>< div uib-mo nthpicker  ng-switch- when=\"mon th\" tabin dex=\"{{$p arent.$par ent.$paren t.calendar Tabindex}} \" class=\ "uib-month picker\">< /div><div  uib-yearpi cker ng-sw itch-when= \"year\" t abindex=\" {{$parent. $parent.$p arent.cale ndarTabind ex}}\" cla ss=\"uib-y earpicker\ "></div></ div>"
  20     );
  21  
  22  
  23     $templat eCache.put ('componen ts/directi ves/ui-com ponents/fo rm/control s/composit e/input-ca lendar-dat e-picker/i nput-calen dar-date-p icker-popu p_template .html',
  24       "<ul a ria-hidden =\"true\"  class=\"dr opdown-men u\" ng-sty le=\"{disp lay: (isOp en && 'blo ck') || 'n one', top:  position. top+'px',  left: posi tion.left+ 'px'}\" ng -keydown=\ "keydown($ event)\">< li ng-tran sclude></l i><li ng-i f=\"showBu ttonBar\"  style=\"pa dding:10px  9px 2px\" ><span cla ss=\"btn-g roup\"><bu tton type= \"button\"  class=\"b tn btn-sm  btn-info\"  ng-click= \"select(' today')\"> {{ getText ('current' ) }}</butt on> <butto n type=\"b utton\" cl ass=\"btn  btn-sm btn -danger\"  ng-click=\ "select(nu ll)\">{{ g etText('cl ear') }}</ button> </ span><butt on type=\" button\" c lass=\"btn  btn-sm bt n-success  pull-right \" ng-clic k=\"close( )\">{{ get Text('clos e') }}</bu tton></li> </ul>"
  25     );
  26  
  27  
  28     $templat eCache.put ('componen ts/directi ves/ui-com ponents/fo rm/control s/composit e/input-ca lendar-dat e-picker/i nput-calen dar-date-p icker_temp late.html' ,
  29       "<span  ng-if=\"s howLabel\"  class=\"i nput-label -content\"  aria-labe l=\"{{date Label}}\"> <span clas s=\"sr-onl y\">{{date Label}}</s pan> <span  ng-if=\"l abelIcon.l eft\" role =\"{{label Icon.left. onClick ?  'button' :  ''}}\" cl ass=\"btn  btn-icon\"  aria-labe l=\"{{labe lIcon.left .iconLabel }}\" title =\"{{label Icon.left. iconLabel} }\" ng-cli ck=\"label Icon.left. onClick()\ " tabindex =\"{{calen darTabinde x}}\"><i c lass=\"ico n {{labelI con.left.i con}}\"></ i> </span> <span ng-c lass=\"{'b old-text'  : !isSubLa bel}\" ari a-hidden=\ "true\">{{ label}}:</ span> <spa n ng-if=\" labelIcon. right\" ro le=\"{{lab elIcon.rig ht.onClick  ? 'button ' : ''}}\"  class=\"b tn btn-ico n\" aria-l abel=\"{{l abelIcon.r ight.iconL abel}}\" t itle=\"{{l abelIcon.r ight.iconL abel}}\" n g-click=\" labelIcon. right.onCl ick()\" ta bindex=\"{ {calendarT abindex}}\ "><i class =\"icon {{ labelIcon. right.icon }}\"></i>< /span></sp an><div cl ass=\"inpu t-group\"> <input typ e=\"text\"  name=\"{{ fieldId}}\ " id=\"{{f ieldId}}\"  aria-labe l=\"{{fiel dAriaLabel }}\" aria- labelledby =\"{{field AriaLabell edby}}\" n g-model=\" ngModel\"  ng-change= \"onChange ()\" ng-ke ydown=\"on Keydown($e vent)\" ng -focus=\"o nFieldFocu s()\" ng-b lur=\"onFi eldBlur()\ " class=\" form-contr ol date-in put\" plac eholder=\" {{'Enter D ate of Bir th (' + (d isableMont hSelection  ? 'YYYY'  : (disable DaySelecti on ? 'MM/Y YYY' : 'MM /DD/YYYY') ) + ')'}}\ " custom-m axlength m axlength=\ "10\" ng-d isabled=\" ngDisabled \" aria-di sabled=\"{ {ngDisable d}}\" ng-r eadonly=\" ngReadonly \" aria-re adonly=\"{ {ngReadonl y}}\" ng-r equired=\" ngRequired \" ng-trim =\"false\"  tabindex= \"{{calend arTabindex }}\"> <spa n class=\" input-grou p-btn\" ar ia-hidden= \"true\">< button typ e=\"button \" tabinde x=\"-1\" c lass=\"btn  btn-defau lt\" ng-cl ick=\"open CalendarPo pup($event )\" ng-dis abled=\"ng Readonly | | ngDisabl ed\"><i cl ass=\"glyp hicon glyp hicon-cale ndar\"></i > <span cl ass=\"sr-o nly\">This  calendar  control is  not optim ized for s creen read ers. Pleas e directly  enter dat es in the  text box p rovided. O pen Calend ar Control .</span></ button></s pan></div> <span ng-i f=\"!hideD ay && ngMo del && get DayOfWeek( )\" aria-l abel=\"Day  selected  is {{getDa yOfWeek()} }\"><span  class=\"sr -only\">Da y selected  is {{getD ayOfWeek() }}</span>  <span aria -hidden=\" true\">{{g etDayOfWee k()}}</spa n></span>"
  30     );
  31  
  32  
  33     $templat eCache.put ('componen ts/eula/eu la_templat e.html',
  34       "<div  class=\"eu la-wrapper \"><div cl ass=\"eula -form pane l panel-pr imary\" ta bindex=\"1 00\"><div  class=\"pa nel-headin g\"><h2>En d User Lic ense Agree ment</h2>< /div><div  class=\"pa nel-body\" ><h3>Effec tive <span  id=\"modi fied-date\ ">1/14/201 3</span></ h3><p>By a greeing to  access VA 's mobile  applicatio n (\"Appli cation\")  on your de vice and b y subseque nt use of  the Licens ed Softwar e, you agr ee to comp ly with th e terms of  this gene ral End Us er License  Agreement  (\"EULA\" ) and Noti ce of Priv acy Practi ces (\"Not ice\"). If  you do no t agree to  the terms  of this E ULA and No tice, do n ot access  or use the  Licensed  Software f rom your d evice. Thi s EULA and  Notice ap plies to a ny upgrade s and supp lements to  the origi nal Licens ed Softwar e provided  and is re ferred to  on your op ening scre en. Â A co py of the  EULA is av ailable fr om within  the Licens ed Softwar e. Â It is  your resp onsibility  to review  any futur e changes  to the EUL A and to r efrain fro m using th e software  if you do  not agree  to the te rms.</p><o l data-rol e=\"listvi ew\"><li>< p>The Lice nsed Softw are is own ed by VA.  The Licens ed Softwar e is licen sed, not s old, only  on the ter ms of this  EULA. Acc eptance an d use of t he softwar e indicate s your acc eptance of  the terms  and condi tions of t his EULA.< /p></li><l i><p>Upon  accessing  the Licens ed Softwar e, you wil l acquire  the right  to use the  Licensed  Software,  directly f rom VA. Yo u assume r esponsibil ity for th e selectio n of the p rogram to  achieve yo ur intende d results,  and for t he access,  use and r esults obt ained from  the Licen sed Softwa re.</p></l i><li><p>V A and you  acknowledg e that thi s Agreemen t is concl uded betwe en VA and  you only,  and not wi th your ha rdware man ufacturer,  operating  system ve ndor, or o rganizatio n that pro vided the  mechanism  to access  the softwa re. Â VA i s solely r esponsible  for the L icensed So ftware and  its conte nt.</p></l i><li><p>I n consider ation of y our accept ance of th e terms an d conditio ns contain ed in this  EULA, VA  grants you  a non-exc lusive lic ense to us e the Lice nsed Softw are and th e associat ed documen tation for  your own  needs on o ne device.  You are n ot license d to rent,  lease, tr ansfer, or  distribut e the Lice nsed Softw are.</p></ li><li><p> Title to t he License d Software , includin g media an d document ation, rem ain with V A. You may  not copy  or reprodu ce, except  as suppor ted by the  Licensed  Software,  in whole o r in part,  or as is  necessary  for back-u p or archi val purpos es. You ma y not reve rse engine er, transl ate, disas semble, de compile th e software  or create  similar s oftware in  whole or  in part.</ p></li><li ><p>The li cense is e ffective u pon accept ance and a ccess to t he License d Software  and shall  continue  with any s ubsequent  use of the  applicati on. VA has  the right  to termin ate this A greement i f you fail  to comply  with any  term or co ndition of  this EULA . Upon ter mination y ou shall s top all us e of the L icensed So ftware.</p ></li><li> <p>Confide ntiality o f the Lice nsed Softw are will s urvive any  terminati on of this  EULA, to  include th e applicat ion, desig n, and fun ctionality .</p></li> <li><p>Thi s Licensed  Software  is distrib uted AS IS , in the h ope that i t will be  useful, bu t WITHOUT  ANY WARRAN TY; withou t even the  implied w arranty of  MERCHANTA BILITY or  FITNESS FO R A PARTIC ULAR PURPO SE.</p></l i><li><p>I n no event  will VA b e liable f or any dam ages, incl uding for  loss of da ta, loss o f use, or  indirect,  special, i ncidental  or consequ ential dam ages in an y way rela ted to or  arising ou t of the u se of the  Licensed S oftware wh ether base d upon war ranty, con tract, or  otherwise,  whether o r not inju ry was sus tained by  persons or  property  or otherwi se, and wh ether or n ot loss wa s sustaine d from, or  arose out  of use of  Licensed  Software.   You agre e to waive  any and a ll claims  against th e U.S. Gov ernment, V A, its emp loyees, it s contract ors, their  subcontra ctors, and  shall ind emnify and  hold harm less the U .S. Govern ment, its  contractor s, and the ir subcont ractors fo r any dama ge that yo u may incu r from you r use of t he License d Software .</p></li> <li><p>VA  shall be n either lia ble nor re sponsible  for any ma intenance  or updatin g of the p rovided Li censed Sof tware, nor  for corre ction of a ny errors  in the Lic ensed Soft ware. Â Th e VA may d iscontinue  the Licen sed Softwa re, potent ially, but  not neces sarily, re placing it  with a su bsequent p roduct. Â  Compatibil ity of dat a between  products i s not guar anteed.</p ></li><li> <p>This Ag reement sh all be con strued and  enforced  in accorda nce with f ederal law  and each  party agre es to be s ubject to  those rele vant laws  for all pu rposes.</p ></li><li> <p>It is u nderstood  and acknow ledged tha t VA has t he absolut e right to  obtain in junctive r elief to p rotect VA' s propriet ary rights .</p></li> <li><p>By  using the  Licensed S oftware, y ou further  agree tha t this is  the comple te and exc lusive sta tement of  the Agreem ent which  supersedes  any propo sal or pri or agreeme nt, oral o r written,  and any o ther commu nications  relating t o the subj ect matter  of this E ULA.</p></ li><li><p> If any pro vision of  this Agree ment is he ld to be i nvalid or  unenforcea ble, the r emaining p rovisions  will not b e affected .</p></li> <li><p>By  agreeing t o use VA s oftware th at allows  you to acc ess your h ealth data , you are  further ag reeing bas ed upon in dividual e nd-user ac cess permi ssions to  allow the  applicatio n to acces s and disp lay your a vailable e lectronic  personal h ealth info rmation fr om VA syst ems after  proper ide ntificatio n and auth entication .</p></li> <li><p>Som e applicat ions may p rovide acc ess to oth er Web sit es outside  VA contro l and juri sdiction.  When you l ink to the se Web sit es, your c ommunicati ons no lon ger are pr otected by  our priva cy policie s. VA is n ot respons ible for t he privacy  practices  or the co ntent of n on-VA Web  sites. We  encourage  you to rev iew the pr ivacy poli cy or term s and cond itions of  those site s to fully  understan d what inf ormation i s collecte d and how  it is used .</p></li> <li><p>You  have a re sponsibili ty to keep  your heal th informa tion safe.  While VA  ensures pr ivacy and  security o f your per sonal heal th informa tion while  the data  is in VA s ystems, VA  cannot en sure priva cy once yo u remove a  copy of y our inform ation from  a VA syst em. Â Once  informati on is down loaded, sa ved, print ed, emaile d, faxed o r shared b y other me thod, its  protection  is up to  you. Â Whe n using an  Applicati on that al lows displ ay of your  health in formation,  remember  that peopl e may see  your perso nal inform ation on t he screen.  Turn the  screen awa y from the ir view. D o not walk  away from  the mobil e device o r computer  with your  informati on showing . Always r emember to  log off w hen you ha ve finishe d. If you  must write  informati on down, k eep them i n a safe p lace. If y ou print c opies of y our person al health  informatio n, be care ful not to  leave it  in any pub lic places  and store  copies in  a safe pl ace, like  a locked f ile cabine t. If you  share your  personal  health inf ormation w ith others , VA has n o authorit y to ensur e these pe ople prote ct your pr ivacy. Be  careful of  who you g ive copies  of your p ersonal he alth infor mation, wh ether the  informatio n was ente red by you  or is fro m a VA sys tem. Be su re to dest roy printe d copies o f your hea lth inform ation pref erably wit h a shredd er. You ar e encourag ed to enha nce the se curity of  your infor mation by  taking act ions on an y mobile d evice or c omputer us ed to acce ss your he alth infor mation.</p ><p>- Reco mmended ac tions incl ude but ar e not limi ted to the  following :</p><p>-  Use a pass word to pr otect acce ss to your  device. Â  Ensure th at your pa ssword is  easy for y ou to reme mber but d ifficult f or others  to guess.< /p><p>- Us e the auto lock featu re and/or  timeout fe ature on y our device .</p><p>-  Do not jai lbreak you r device o r download  apps from  sources o ther than  designated  app store s as these  actions m ay expose  you to sec urity risk .</p></li> <li><p>PRI VACY ACT S TATEMENT:  Use of VA  Licensed S oftware by  you may i nvolve the  collectio n of indiv idually id entifiable  data that  you enter  into the  Applicatio n and data  about you r use of t he Applica tion. Â  A s authoriz ed by 38 U .S.C. Sect ion 501, V A is askin g you to p rovide inf ormation v ia this Ap plication  which may  be include d with oth er informa tion VA us es to deli ver health  care to y ou. Â VA m ay disclos e the info rmation th at you ent ered into  the Applic ation as p ermitted b y law. VA  may make a  \"routine  use\" dis closure of  the infor mation as  outlined i n the Priv acy Act sy stems of r ecords not ices and i n accordan ce with th e Veterans  Health Ad ministrati on (VHA) N otice of P rivacy Pra ctices. VH A will exp lain these  routine u ses and pr ivacy prac tices upon  further r equest. Pr oviding th e informat ion is vol untary. Â  Failure to  furnish y our identi fying info rmation (u sername an d login) w hen requir ed by an A pplication  will prev ent you fr om being a ble to use  the Licen sed Softwa re, but wi ll not hav e any effe ct on any  other bene fits or ca re to whic h you may  be entitle d. VA may  also use t his inform ation to i dentify us ers of the  Licensed  Software,  and for ot her purpos es authori zed or req uired by l aw.</p></l i><li><p>T he License d Software  transfer  of individ ually iden tifiable d ata will u se secure  methods to  transmit  the data.   Data col lected by  the Licens ed Softwar e for pati ent care p urposes wi ll be secu rely trans mitted int o VA data  systems to  be stored  as part o f your hea lth care r ecords cov ered under  a Privacy  Act syste m of recor ds.</p></l i><li><p>D ATA USE: D ata result ing from t he use of  the Licens ed Softwar e will be  made avail able to VA  authorize d persons  in the con duct of th eir offici al busines s. Â Data  may be use d for stat istical an d manageme nt purpose s in asses sing the b enefit of  this softw are. Â Dat a provided  for resea rch purpos es will be  made anon ymous so t hat it is  not person ally ident ifiable.</ p></li><li ><p>DISCLA IMER: The  content of  this Appl ication is  intended  for use on ly as an i nformative  tool by t he user. Â  It is not , is not i ntended to  be, and s hould not  be used in  any way a s a substi tute for p rofessiona l medical  advice or  training.   The accu racy of th e informat ion provid ed is not  guaranteed . Â The us er acknowl edges in i nitiating  this Appli cation tha t the info rmation is  not meant  to diagno se a healt h conditio n or disea se and is  not meant  to develop  a health  treatment  plan. Â If  you are i n an emerg ency or li fe-threate ning medic al situati on, seek m edical ass istance im mediately.  Â Dial em ergency nu mber (911  in the USA ) for emer gency medi cal servic es.</p></l i></ol></d iv><div cl ass=\"pane l-footer\"  data-ng-i f=\"!accep tedThisSes sion\"><a  href=\"#\"  class=\"b tn btn-def ault decli ne-btn\" i d=\"declin e\" data-n g-click=\" declineCli cked($even t)\" title =\"Decline  to accept  the EULA\ " tabindex =\"100\" d ata-focus- me=\"true\ ">Decline< /a> <a hre f=\"#\" cl ass=\"btn  btn-defaul t accept-b tn\" id=\" accept\" d ata-ng-cli ck=\"accep tClicked($ event)\" t abindex=\" 100\" titl e=\"Accept  the EULA\ ">Accept</ a></div><d iv class=\ "panel-foo ter\" data -ng-if=\"a cceptedThi sSession\" ><a class= \"btn btn- default\"  data-focus -me=\"true \" data-ui -sref=\"ma in.splash\ " tabindex =\"100\" i d=\"done\"  title=\"T his sessio n has been  accepted\ ">DONE</a> </div></di v></div>"
  35     );
  36  
  37  
  38     $templat eCache.put ('componen ts/footer/ footer_tem plate.html ',
  39       "<foot er class=\ "navbar na vbar-darkg rey navbar -fixed-bot tom btn-gr oup-navbar  main-foot er\"><span  aria-hidd en=\"true\ " class=\" glyphicon  glyphicon- user\" tit le=\"Gener ic User ic on\"></spa n> <span d ata-ng-if= \"!userNam e\">Not lo gged in</s pan> <span  data-ng-i f=\"userNa me\">Logge d in as: { {userName} } <span da ta-ng-if=\ "advocateF orName\">-  Health Ad vocate for  {{advocat eForName}} </span> <s pan data-n g-if=\"fac ilityName\ ">- {{faci lityName}} </span></s pan></foot er>"
  40     );
  41  
  42  
  43     $templat eCache.put ('componen ts/header/ header_tem plate.html ',
  44       "<nav  class=\"ma in-header  navbar nav bar-defaul t navbar-f ixed-top\" ><h1 class =\"navbar- brand main -title col -md-12\" i d=\"title\ " aria-lab el=\"{{glo bal.title} }\" data-m ain-focus  tabindex=\ "-1\"><spa n aria-hid den=\"true \">{{globa l.title}}< /span></h1 ><button i d=\"icon-b ars\" type =\"button\ " class=\" btn navbar -btn-left  snap-toggl e\" data-s nap-toggle =\"left\"  title=\"Op en left me nu options {{isAndroi d ? (snapp er.state() .state ===  'left' ?  ', expande d' : ', co llapsed')  : ''}}\" v alue=\"Lef t menu but ton\" aria -expanded= \"{{snappe r.state(). state ===  'left'}}\" ><span cla ss=\"custo m-icon-bar \"></span>  <span cla ss=\"custo m-icon-bar \"></span>  <span cla ss=\"custo m-icon-bar \"></span> </button>  <button id =\"icon-ba rsright\"  type=\"but ton\" clas s=\"btn na vbar-btn-r ight snap- toggle\" d ata-snap-t oggle=\"ri ght\" titl e=\"Open r ight menu  options{{i sAndroid ?  (snapper. state().st ate === 'r ight' ? ',  expanded'  : ', coll apsed') :  ''}}\" val ue=\"Right  menu butt on\" aria- expanded=\ "{{snapper .state().s tate === ' right'}}\" ><i class= \"glyphico n glyphico n-user pla ceicon\" a ria-hidden =\"true\"> </i> <span  class=\"c ustom-icon -bar\"></s pan> <span  class=\"c ustom-icon -bar\"></s pan> <span  class=\"c ustom-icon -bar\"></s pan></butt on></nav>"
  45     );
  46  
  47  
  48     $templat eCache.put ('componen ts/menu/me nu_templat e.html',
  49       "<div  data-menu- spacing da ta-snap-dr awers aria -hidden=\" {{snapper. state().st ate === 'c losed'}}\" ><button t ype=\"butt on\" class =\"close-m enu-sr-onl y\" data-n g-if=\"!is Android\"  data-ng-fo cus=\"clos eMenus()\"  title=\"C lose {{sna pper.state ().state = == 'left'  ? 'App Opt ions' : 'U ser'}} Men u\" tabind ex=\"{{sna pper.state ().state = == 'closed ' ? '-1' :  ''}}\"></ button><di v class=\" menu-conta iner\" dat a-snap-dra wer=\"left \" aria-hi dden=\"{{s napper.sta te().state  !== 'left '}}\" aria -label=\"A pp Options  Menu, {{s napper.sta te().state  === 'left ' ? 'expan ded' : 'co llapsed'}} \" tabinde x=\"-1\">< div class= \"panel-he ader text- center\" a ria-hidden =\"{{!focu sHeader}}\ "><h4 id=\ "appMenuHe ader\" cla ss=\"sr-on ly menu-he ader\" tab index=\"-1 \">App Opt ions Menu,  {{snapper .state().s tate === ' left' ? 'e xpanded' :  'collapse d'}}</h4>< h4 class=\ "menu-head er\" aria- hidden=\"t rue\" tabi ndex=\"-1\ ">App Opti ons</h4></ div><butto n data-sna p-close cl ass=\"sr-o nly-close- menu app-m enu\" titl e=\"Close  App Option s Menu\" t abindex=\" {{snapper. state().st ate === 'c losed' ? ' -1' : ''}} \"><i clas s=\"glyphi con glyphi con-chevro n-right\"  aria-hidde n=\"true\" ></i></but ton><ul cl ass=\"nav  nav-pills  nav-stacke d sidebar- list\"><li  data-ui-s ref-active =\"active\ " data-ng- if=\"authe nticated & & userName  !== undef ined\"><bu tton id=\" createprof ile\" data -ui-sref=\ "main.acco unt/edit\"  data-snap -toggle=\" left\" tab index=\"{{ snapper.st ate().stat e === 'clo sed' ? '-1 ' : ''}}\" ><span>Edi t My Profi le</span>< /button></ li><li dat a-ui-sref- active=\"a ctive\" da ta-ng-if=\ "authentic ated && us erName !==  undefined \"><button  id=\"myse arch\" dat a-ui-sref= \"main.sea rch\" data -snap-togg le=\"left\ " tabindex =\"{{snapp er.state() .state ===  'closed'  ? '-1' : ' '}}\"><spa n>Search</ span></but ton></li>< li data-ui -sref-acti ve=\"activ e\" data-n g-if=\"aut henticated  && userNa me !== und efined\">< button id= \"mygroups \" data-ui -sref=\"ma in.groups\ " data-sna p-toggle=\ "left\" ta bindex=\"{ {snapper.s tate().sta te === 'cl osed' ? '- 1' : ''}}\ "><span>Gr oups</span ></button> </li><li d ata-ui-sre f-active=\ "active\"  data-ng-if =\"authent icated &&  userName ! == undefin ed\"><butt on id=\"pe rsonallist \" data-ui -sref=\"ma in.persona llist\" da ta-snap-to ggle=\"lef t\" tabind ex=\"{{sna pper.state ().state = == 'closed ' ? '-1' :  ''}}\"><s pan>Person al List</s pan></butt on></li></ ul></div>< div class= \"menu-con tainer\" d ata-snap-d rawer=\"ri ght\" aria -hidden=\" {{snapper. state().st ate !== 'r ight'}}\"  aria-label =\"User Me nu, {{snap per.state( ).state == = 'right'  ? 'expande d' : 'coll apsed'}}\"  tabindex= \"-1\"><di v class=\" panel-head er text-ce nter\" ari a-hidden=\ "{{!focusH eader}}\"> <h4 id=\"u serMenuHea der\" clas s=\"sr-onl y menu-hea der\" tabi ndex=\"-1\ ">User Men u, {{snapp er.state() .state ===  'right' ?  'expanded ' : 'colla psed'}}</h 4><h4 clas s=\"menu-h eader\" ar ia-hidden= \"true\" t abindex=\" -1\">User  Menu</h4>< /div><butt on data-sn ap-close c lass=\"sr- only-close -menu user -menu\" ti tle=\"Clos e User Men u\" tabind ex=\"{{sna pper.state ().state = == 'closed ' ? '-1' :  ''}}\"><i  class=\"g lyphicon g lyphicon-c hevron-lef t\" aria-h idden=\"tr ue\"></i>< /button><u l class=\" nav nav-pi lls nav-st acked side bar-list\" ><li data- ui-sref-ac tive=\"act ive\"><but ton type=\ "button\"  data-dismi ss=\"modal \" id=\"ab out-page\"  ng-click= \"openAbou tModal()\"  tabindex= \"{{snappe r.state(). state ===  'closed' ?  '-1' : '' }}\"><span ><span ari a-hidden=\ "true\" cl ass=\"glyp hicon glyp hicon-info -sign rght 1\"></span > About</s pan></butt on></li><l i data-ui- sref-activ e=\"active \" data-ng -if=\"auth enticated  && userNam e !== unde fined\"><b utton type =\"button\ " data-dis miss=\"mod al\" id=\" help-page\ " ng-click =\"openHel pModal()\"  tabindex= \"{{snappe r.state(). state ===  'closed' ?  '-1' : '' }}\"><span ><span ari a-hidden=\ "true\" cl ass=\"glyp hicon glyp hicon-ques tion-sign  rght1\"></ span> Help </span></b utton></li ><li data- ui-sref-ac tive=\"act ive\" data -ng-if=\"a uthenticat ed && user Name !== u ndefined\" ><button t ype=\"butt on\" data- dismiss=\" modal\" id =\"app-tou r\" ng-cli ck=\"openA ppTourModa l()\" tabi ndex=\"{{s napper.sta te().state  === 'clos ed' ? '-1'  : ''}}\"> <span><spa n aria-hid den=\"true \" class=\ "glyphicon  glyphicon -question- sign rght1 \"></span>  Take a To ur</span>< /button></ li></ul><u l class=\" nav nav-pi lls nav-st acked\"><l i class=\" item-dark\ "><button  ng-if=\"is Cordova ==  false\" i d=\"launch pad\" data -ng-click= \"openLink ('launchpa d', $event )\" data-s nap-toggle =\"right\"  tabindex= \"{{snappe r.state(). state ===  'closed' ?  '-1' : '' }}\"><span ><span ari a-hidden=\ "true\" cl ass=\"glyp hicon glyp hicon-plan e rot45 rg ht1\"></sp an> Launch pad</span> </button>< /li><li da ta-ng-if=\ "!authenti cated\" cl ass=\"item -dark\"><b utton id=\ "login\" d ata-ng-cli ck=\"openL ink('login ', $event) \" data-sn ap-toggle= \"right\"  tabindex=\ "{{snapper .state().s tate === ' closed' ?  '-1' : ''} }\"><span> <span aria -hidden=\" true\" cla ss=\"glyph icon glyph icon-off r ght1\"></s pan> Login </span></b utton></li ><li data- ng-if=\"au thenticate d\" class= \"item-dar k\"><butto n id=\"log out\" data -ng-click= \"openLink ('logout',  $event)\"  data-snap -toggle=\" right\" ta bindex=\"{ {snapper.s tate().sta te === 'cl osed' ? '- 1' : ''}}\ "><span><s pan aria-h idden=\"tr ue\" class =\"glyphic on glyphic on-off rgh t1\"></spa n> Logout< /span></bu tton></li> </ul></div ><button t ype=\"butt on\" class =\"close-m enu-sr-onl y\" data-n g-if=\"!is Android\"  data-ng-fo cus=\"clos eMenus()\"  title=\"C lose {{sna pper.state ().state = == 'left'  ? 'App Opt ions' : 'U ser'}} Men u\" tabind ex=\"{{sna pper.state ().state = == 'closed ' ? '-1' :  ''}}\"></ button></d iv>"
  50     );
  51  
  52  
  53     $templat eCache.put ('componen ts/modals/ about_temp late.html' ,
  54       "<div  class=\"mo dal-header \"><h1 cla ss=\"modal -title tex t-center\" >{{title}} </h1></div ><div clas s=\"modal- body\"><h2 >Veteran L ink - Vers ion {{vers ion}}</h2> <p>By usin g this app lication,  Veterans a nd Authori zed Users  can quickl y connect  with other  Veterans  and Author ized Users  based on  similar ch aracterist ics and in terests. T hey are ab le to iden tify indiv iduals and  groups to  join in d iscussions  about hea lth-relate d issues.  Based upon  access wi th a Premi um (level  2) DS Logo n account,  the appli cation mak es it poss ible for V eterans an d Authoriz ed Users t o select w hat inform ation in t heir profi les they w ant to sha re with ot hers. Vete rans and A uthorized  Users will  be able t o quickly  find, join , and comm unicate th rough netw orks of pe ople with  common int erests.</p ><p>If you  have lost  or forgot ten your l ogin / pas sword plea se copy an d paste th e link bel ow in your  browser:< /p><p>http s://myacce ss.dmdc.os d.mil/iden titymanage ment/authe nticate.do ?execution =e3s1</p>< p>Follow t he instruc tions for  retrieving  your DS L ogin or pa ssword fro m the My A ccess Cent er website .</p><p>Yo u can use  this app t o</p><ul r ole=\"menu \"><li rol e=\"menuit em\">Find  informatio n about he alth-relat ed issues< /li><li ro le=\"menui tem\">Find  and conve rse via em ail with o ther Veter ans or Aut horized Us ers who ha ve common  interests< /li><li ro le=\"menui tem\">Join  groups of  Veterans  or Authori zed Users  to discuss  a specifi c topic</l i></ul><p> <a id=\"ve t-link\" d ata-ui-sre f=\"eula\"  data-ng-c lick=\"ok( )\" class= \"bolder\"  accesskey =\"a\" rol e=\"link\" >End User  License Ag reement (E ULA)</a></ p></div><d iv class=\ "modal-foo ter\"><but ton tabind ex=\"0\" r ole=\"butt on\" type= \"button\"  id=\"canc el\" class =\"btn btn -default\"  data-ng-c lick=\"ok( $event)\"  accesskey= \"b\">OK</ button></d iv>"
  55     );
  56  
  57  
  58     $templat eCache.put ('componen ts/modals/ alert_temp late.html' ,
  59       "<div  class=\"mo dal-body a lert-dialo g-modal\"  style=\"pa dding:0px\ "><div cla ss=\"alert  alert-{{d ata.mode}} \" style=\ "margin-bo ttom:0px\" ><p id=\"a lertModalT ext\" role =\"heading \"><span c lass=\"gly phicon {{d ata.status icon}}\" a ria-hidden =\"true\"> </span>&nb sp;&nbsp;& nbsp;<stro ng>{{data. boldTextTi tle}}</str ong> {{dat a.textAler t}}</p></d iv></div>"
  60     );
  61  
  62  
  63     $templat eCache.put ('componen ts/modals/ carousel/c arousel_te mplate.htm l',
  64       "<div  class=\"mo dal-header  tour-head er\"><h3 c lass=\"mod al-title\" >Take a To ur</h3><bu tton data- ng-click=\ "closeAppT our()\"><i  class=\"g lyphicon g lyphicon-r emove-circ le\" aria- hidden=\"t rue\"></i>  <span cla ss=\"sr-on ly\">Close  App Tour< /span></bu tton></div ><div clas s=\"modal- body tour- carousel\" ><div clas s=\"full-w idth\"><di v id=\"car ousel\" ui b-carousel  active=\" active\" t emplate-ur l=\"assets /templates /accessibl ecarousel- template.h tml\" acce ssible-car ousel><div  uib-slide  ng-repeat =\"slide i n tourSlid es\" index =\"$index\ "><div cla ss=\"carou sel-captio n\"><div c lass=\"car ousel-body \"><span i d=\"carous elSlideCon tent-{{$in dex}}\" cl ass=\"sr-o nly\" aria -hidden=\" true\">{{s lide.text  || 'Slide  Image'}}</ span> <img  class=\"c arousel-im g\" alt=\" {{slide.te xt || 'Sli de Image'} }\" ng-src =\"{{slide .image}}\" ></div></d iv></div>< /div></div ></div><di v class=\" modal-foot er\"><butt on type=\" button\" c lass=\"btn  btn-link  pull-left\ " data-ng- click=\"cl oseAppTour (true)\">D on't show  this again </button>  <button ty pe=\"butto n\" class= \"btn btn- primary fo rm-button  pull-right \" data-ng -click=\"c loseAppTou r()\">Clos e</button> </div>"
  65     );
  66  
  67  
  68     $templat eCache.put ('componen ts/modals/ disclaimer _template. html',
  69       "<div  class=\"mo dal-header \"><h1 cla ss=\"modal -title tex t-center\" >{{title}} </h1></div ><div clas s=\"modal- body\"><p> The conten t of this  Applicatio n is inten ded for us e only as  an informa tive tool  by the use r. It is n ot, is not  intended  to be, and  should no t be used  in any way  as a subs titute for  professio nal medica l advice o r training . The accu racy of th e informat ion provid ed is not  guaranteed . The user  acknowled ges in ini tiating th is Applica tion that  the inform ation is n ot meant t o diagnose  a health  condition  or disease  and is no t meant to  develop a  health tr eatment pl an. If you  are in an  emergency  or life-t hreatening  medical s ituation,  seek medic al assista nce immedi ately. Dia l emergenc y number ( 911 in the  USA) for  emergency  medical se rvices.</p ></div><di v class=\" modal-foot er\"><butt on type=\" button\" i d=\"cancel \" class=\ "btn btn-d efault\" d ata-dismis s=\"modal\ " data-ng- click=\"ok ()\" acces skey=\"b\" >OK</butto n></div>"
  70     );
  71  
  72  
  73     $templat eCache.put ('componen ts/modals/ group/crea te_templat e.html',
  74       "<div  class=\"mo dal-header \"><h1 cla ss=\"modal -title tex t-center\" >{{title}} </h1></div ><div clas s=\"modal- body\"><di v class=\" text-right \"><span i d=\"requir edFieldIns truction\" ><span cla ss=\"red\" >*</span>  <span clas s=\"sr-onl y\">indica tes</span>  required  field</spa n></div><d iv class=\ "contain c ontain-def ault\"><fo rm name=\" myform.cre ateGroup\" ><div clas s=\"form-g roup\" dat a-ng-class =\"{'has-e rror': myf orm.create Group.grou pName.$inv alid && my form.creat eGroup.gro upName.$di rty, 'has- success':  myform.cre ateGroup.g roupName.$ valid && m yform.crea teGroup.gr oupName.$d irty}\"><d iv class=\ "row\"><di v id=\"gro upNameLabe l\" class= \"col-xs-1 2 col-sm-4 \"><label  for=\"grou pName\" cl ass=\"cont rol-label\ "><span cl ass=\"red\ ">*</span>  Group Nam e</label>< /div><div  class=\"co l-sm-8 col -xs-12\">< input type =\"text\"  class=\"fo rm-control \" id=\"gr oupName\"  placeholde r=\"Enter  Group Name \" data-ng -model=\"i nput.group Name\" nam e=\"groupN ame\" data -custom-ma xlength ma xlength=\" 40\" data- character- count=\"gr oupNameCha racterCoun t\" requir ed data-ng -trim=\"fa lse\" acce sskey=\"g\ "><div id= \"groupNam eCharCount \" class=\ "control-l abel\">{{  groupNameC haracterCo unt }} cha racter{{gr oupNameCha racterCoun t !== 1 ?  \"s\" : \" \"}} remai ning</div> </div></di v></div><d iv id=\"us ernameuniq uemessage\ " data-ng- show=\"myf orm.create Group.grou pName.$err or.groupna meunique\"  class=\"a lert alert -danger\"> The group  name you h ave chosen  already e xists, try  a differe nt name.</ div><div i d=\"groupn amerequire d\" data-n g-show=\"m yform.crea teGroup.at tempted &&  myform.cr eateGroup. groupName. $error.req uired\" cl ass=\"aler t alert-da nger\">Gro up name is  required. </div><div  class=\"f orm-group\ " data-ng- class=\"{' has-error' : myform.c reateGroup .purpose.$ invalid &&  myform.cr eateGroup. purpose.$d irty, 'has -success':  myform.cr eateGroup. purpose.$v alid && my form.creat eGroup.pur pose.$dirt y}\"><div  class=\"ro w\"><div i d=\"purpos eLabel\" c lass=\"col -sm-4 col- xs-12\"><l abel for=\ "purpose\"  class=\"c ontrol-lab el\"><span  class=\"r ed\">*</sp an> Purpos e<span cla ss=\"sr-on ly\">&nbsp ;required< /span></la bel></div> <div class =\"col-sm- 8 col-xs-1 2\"><texta rea class= \"form-con trol\" dat a-rows=\"3 \" id=\"pu rpose\" da ta-custom- maxlength  maxlength= \"150\" da ta-charact er-count=\ "groupPurp oseCharact erCount\"  name=\"pur pose\" col s=\"60\" r ows=\"5\"  wrap=\"sof t\" placeh older=\"En ter Purpos e\" requir ed data-ng -model=\"i nput.purpo se\" aria- required=\ "true\" da ta-ng-trim =\"false\"  accesskey =\"p\"></t extarea><d iv id=\"gr oupPurpose CharCount\ " class=\" control-la bel\">{{ g roupPurpos eCharacter Count }} c haracter{{ groupPurpo seCharacte rCount !==  1 ? \"s\"  : \"\"}}  remaining< /div></div ></div></d iv><div id =\"purpose required\"  data-ng-s how=\"myfo rm.createG roup.attem pted && my form.creat eGroup.pur pose.$erro r.required \" class=\ "alert ale rt-danger\ ">Group pu rpose is r equired.</ div></form ></div></d iv><div cl ass=\"moda l-footer t ext-left\" ><div clas s=\"btn-gr oup\"><but ton type=\ "button\"  id=\"modal save\" cla ss=\"btn b tn-default \" data-ng -click=\"s ave($event )\" access key=\"s\"> Save</butt on> <butto n type=\"b utton\" id =\"modalca ncel\" cla ss=\"btn b tn-default \" data-ng -click=\"c ancel($eve nt)\" acce sskey=\"c\ ">Cancel</ button> <b utton type =\"button\ " id=\"mod alreset\"  class=\"bt n btn-defa ult\" data -ng-click= \"reset($e vent)\" ac cesskey=\" r\">Reset< /button></ div></div> "
  75     );
  76  
  77  
  78     $templat eCache.put ('componen ts/modals/ group/deta il_templat e.html',
  79       "<div  class=\"mo dal-header \"><h1 cla ss=\"modal -title tex t-center\" >Group Det ails</h1>< /div><div  class=\"mo dal-body\" ><strong>P urpose: </ strong>{{  currentGro up.purpose  }}</div>< div class= \"modal-fo oter\"><di v class=\" btn-group\ "><button  type=\"but ton\" id=\ "modalsave \" class=\ "btn btn-d efault\" d ata-ng-cli ck=\"ok($e vent)\" ac cesskey=\" o\">OK</bu tton></div ></div>"
  80     );
  81  
  82  
  83     $templat eCache.put ('componen ts/modals/ group/join ed_templat e.html',
  84       "<div  class=\"mo dal-header \"><h1 cla ss=\"modal -title tex t-center\" >{{current Group.name }} Joined< /h1></div> <div class =\"modal-b ody\">You  have succe ssfully jo ined {{cur rentGroup. name}}. Se lect Retur n to retur n to the M y Groups l ist, or se lect Conti nue to con tinue join ing groups .</div><di v class=\" modal-foot er\"><div  class=\"bt n-group\"> <button ty pe=\"butto n\" id=\"m odalreturn \" class=\ "btn btn-d efault\" d ata-ng-cli ck=\"retur n($event)\ ">RETURN</ button> <b utton type =\"button\ " id=\"mod alcontinue \" class=\ "btn btn-d efault\" d ata-ng-cli ck=\"conti nue($event )\">CONTIN UE</button ></div></d iv>"
  85     );
  86  
  87  
  88     $templat eCache.put ('componen ts/modals/ group/leav egroup_tem plate.html ',
  89       "<div  class=\"mo dal-header \"><h1 cla ss=\"modal -title tex t-center\" >Leave Gro up {{group Name}}</h1 ></div><di v class=\" modal-body \"><p>You  have chose n to remov e yourself  from this  group. Do  you want  to permane ntly leave  this grou p?</p></di v><div cla ss=\"modal -footer\"> <div class =\"btn-gro up\"><butt on type=\" button\" i d=\"modaly es\" class =\"btn btn -default\"  data-ng-c lick=\"yes ($event)\" >YES</butt on> <butto n type=\"b utton\" id =\"modalno \" class=\ "btn btn-d efault\" d ata-ng-cli ck=\"no($e vent)\">NO </button>< /div></div >"
  90     );
  91  
  92  
  93     $templat eCache.put ('componen ts/modals/ group/post _template. html',
  94       "<div  class=\"mo dal-header \"><h1 cla ss=\"modal -title tex t-center\" >Comment</ h1></div>< div class= \"modal-bo dy\"><form  name=\"my form.creat ePost\"><d iv class=\ "form-grou p\" data-n g-class=\" {'has-erro r': myform .createPos t.comment. $invalid & & myform.c reatePost. comment.$d irty, 'has -success':  myform.cr eatePost.c omment.$va lid && myf orm.create Post.comme nt.$dirty} \"><div cl ass=\"row\ "><label f or=\"comme nt\" class =\"control -label sr- only\">Com ment<span  class=\"sr -only\">&n bsp;requir ed</span>< /label><di v class=\" col-xs-12\ "><textare a class=\" form-contr ol\" data- rows=\"3\"  id=\"comm ent\" data -custom-ma xlength ma xlength=\" 250\" data -character -count=\"g roupCommen tCharacter Count\" na me=\"comme nt\" cols= \"60\" row s=\"5\" wr ap=\"soft\ " placehol der=\"Ente r Comment\ " required  data-ng-m odel=\"inp ut.comment \" aria-re quired=\"t rue\" data -ng-trim=\ "false\" a ccesskey=\ "p\"></tex tarea><spa n class=\" sr-only\"> {{ groupCo mmentChara cterCount  }} charact er{{groupC ommentChar acterCount  !== 1 ? \ "s\" : \"\ "}}</span> <div id=\" groupcomme ntCharCoun t\" class= \"control- label\">{{  groupComm entCharact erCount }}  character {{groupCom mentCharac terCount ! == 1 ? \"s \" : \"\"} } remainin g <span cl ass=\"sr-o nly\">for  Comment</s pan></div> </div></di v></div><d iv id=\"gr oupnamereq uired\" da ta-ng-show =\"myform. createPost .comment.$ dirty && m yform.crea tePost.com ment.$erro r.required \" class=\ "alert ale rt-danger\ ">Comment  is require d.</div></ form></div ><div clas s=\"modal- footer\">< div class= \"btn-grou p\"><butto n type=\"b utton\" id =\"modalsa ve\" class =\"btn btn -default\"  data-ng-c lick=\"sav e($event)\ " data-ng- disabled=\ "myform.cr eatePost.$ invalid ||  saving\"  accesskey= \"s\">Post </button>  <button ty pe=\"butto n\" id=\"m odalcancel \" class=\ "btn btn-d efault\" d ata-ng-cli ck=\"cance l($event)\ " accesske y=\"c\">Ca ncel</butt on></div>< /div>"
  95     );
  96  
  97  
  98     $templat eCache.put ('componen ts/modals/ help_templ ate.html',
  99         "<div clas s=\"modal- header\">< h1 class=\ "modal-tit le text-ce nter\">{{t itle}}</h1 ></div><di v class=\" modal-body \"><p><b>H elp Desk I nfo:</b> I f you need  assistanc e with the  Vetlink A pp, dial 1 -877-470-5 947 to spe ak with a  Help Desk  Representa tive. The  Help Desk  is open Mo nday - Fri day from 7  a.m. to 7  p.m. CST.  For TTY a ssistance,  dial 711.  If you ha ve questio ns about y our DS Log on account DNS . URL /dslogon o r dial 1-8 00-983-093 7 for assi stance.</p ><p><b>Mob ile App Tr aining:</b > Please v isit DNS . URL /appstore,  and searc h for the  Vetlink Ap p to acces s training  materials .</p><p><b >Emergenci es:</b> If  you feel  that your  informatio n may have  been comp romised, c ontact you r local VA  facility  to obtain  the contac t informat ion for yo ur Privacy  Officer.  To identif y your loc al VA faci lity, visi t VA’s F acility Lo cator <a i d=\"facitl ity-locato r0\" href= \"http://1 .usa.gov/1 TTdj42\" r ole=\"link \">here</a >, or by c opying and  pasting t he followi ng link in to your br owser: htt p://1.usa. gov/1TTdj4 2. Note th at you sho uld never  use this a pp in an e mergency s ituation.  If you enc ounter an  emergency,  call your  local med ical cente r or dial  911. Veter ans Crisis  Line: 1-8 00-273-825 5 Press 1< /p><p><b>D isclaimer: </b> The c ontent of  this Appli cation is  intended f or use onl y as an in formative  tool by th e user. It  is not, i s not inte nded to be , and shou ld not be  used in an y way as a  substitut e for prof essional m edical adv ice or tra ining. The  accuracy  of the inf ormation p rovided is  not guara nteed. The  user ackn owledges i n initiati ng this Ap plication  that the i nformation  is not me ant to dia gnose a he alth condi tion or di sease and  is not mea nt to deve lop a heal th treatme nt plan. I f you are  in an emer gency or l ife-threat ening medi cal situat ion, seek  medical as sistance i mmediately . Dial eme rgency num ber (911 i n the USA)  for emerg ency medic al service s.</p><p>< a id=\"gen -feedback\ " data-ng- click=\"na vigateToFe edback()\"  href=\"#\ " role=\"l ink\">Gene ral Feedba ck to the  VA</a></p> <p><a id=\ "vet-link\ " data-ng- click=\"na vigateToUs erGuide()\ " data-sna p-toggle=\ "right\" d ata-ui-sre f=\"main.u serguide\"  accesskey =\"a\" rol e=\"link\" >User Guid e</a></p>< /div><div  class=\"mo dal-footer \"><button  type=\"bu tton\" id= \"cancel\"  class=\"b tn btn-def ault\" dat a-dismiss= \"modal\"  data-ng-cl ick=\"ok($ event)\" a ccesskey=\ "b\">OK</b utton></di v>"
  100     );
  101  
  102  
  103     $templat eCache.put ('componen ts/modals/ personalli st_add_tem plate.html ',
  104       "<div  class=\"mo dal-header \"><h1 cla ss=\"modal -title tex t-center\" >{{title}} </h1></div ><div clas s=\"modal- body\"><p> Are you su re you wan t to add { {user}} to  your pers onal list? </p></div> <div class =\"modal-f ooter\"><d iv class=\ "btn-group \"><button  type=\"bu tton\" id= \"ok\" cla ss=\"btn b tn-default \" data-di smiss=\"mo dal\" data -ng-click= \"ok($even t)\" acces skey=\"b\"  role=\"bu tton\">OK< /button> < button typ e=\"button \" id=\"ca ncel\" cla ss=\"btn b tn-default \" data-di smiss=\"mo dal\" data -ng-click= \"cancel($ event)\" a ccesskey=\ "c\" role= \"button\" >Cancel</b utton></di v></div>"
  105     );
  106  
  107  
  108     $templat eCache.put ('componen ts/modals/ personalli st_remove_ template.h tml',
  109       "<div  class=\"mo dal-header \"><h1 cla ss=\"modal -title tex t-center\" >{{title}} </h1></div ><div clas s=\"modal- body\"><p> Are you su re you wan t to remov e {{user}}  from your  personal  list?</p>< /div><div  class=\"mo dal-footer \"><div cl ass=\"btn- group\"><b utton type =\"button\ " id=\"ok\ " class=\" btn btn-de fault\" da ta-dismiss =\"modal\"  data-ng-c lick=\"ok( $event)\"> OK</button > <button  type=\"but ton\" id=\ "cancel\"  class=\"bt n btn-defa ult\" data -dismiss=\ "modal\" d ata-ng-cli ck=\"cance l($event)\ ">Cancel</ button></d iv></div>"
  110     );
  111  
  112  
  113     $templat eCache.put ('componen ts/modals/ profile/co nfirm_temp late.html' ,
  114       "<div  class=\"mo dal-header \"><h1 cla ss=\"modal -title tex t-center\" >{{title}} </h1></div ><div clas s=\"modal- body\"><p  data-ng-if =\"newprof ile\">You  must creat e a profil e to use t he Veteran  Link appl ication. S elect SAVE  to Create  your prof ile, RETUR N to retur n to the c reate prof ile screen , or CONTI NUE to lea ve without  creating  a profile. </p><p dat a-ng-if=\" !newprofil e\">You ha ve not sav ed your pr ofile chan ges. If yo u wish to  continue w ithout sav ing select  CONTINUE,  otherwise  select SA VE to save  your prof ile change s, or RETU RN to retu rn to edit ing your p rofile.</p ></div><di v class=\" modal-foot er\"><div  class=\"bt n-group\"> <button ty pe=\"butto n\" id=\"o k\" class= \"btn btn- default\"  data-dismi ss=\"modal \" data-ng -click=\"o k($event)\ " accesske y=\"a\">SA VE</button > <button  type=\"but ton\" id=\ "return\"  class=\"bt n btn-defa ult\" data -dismiss=\ "modal\" d ata-ng-cli ck=\"retur n($event)\ " accesske y=\"r\">RE TURN</butt on> <butto n type=\"b utton\" id =\"cancel\ " class=\" btn btn-de fault\" da ta-dismiss =\"modal\"  data-ng-c lick=\"can cel($event )\" access key=\"b\"> CONTINUE</ button></d iv></div>"
  115     );
  116  
  117  
  118     $templat eCache.put ('componen ts/modals/ profile/ed itprofiles ave_templa te.html',
  119       "<div  class=\"mo dal-header \"><h1 cla ss=\"modal -title tex t-center\" >{{title}} </h1></div ><div clas s=\"modal- body\"><p> Are you su re you wan t to save  your profi le?</p></d iv><div cl ass=\"moda l-footer\" ><div clas s=\"btn-gr oup\"><but ton type=\ "button\"  id=\"ok\"  class=\"bt n btn-defa ult\" data -dismiss=\ "modal\" d ata-ng-cli ck=\"ok($e vent)\">Ye s</button>  <button t ype=\"butt on\" id=\" cancel\" c lass=\"btn  btn-defau lt\" data- dismiss=\" modal\" da ta-ng-clic k=\"cancel ($event)\" >No</butto n></div></ div>"
  120     );
  121  
  122  
  123     $templat eCache.put ('componen ts/modals/ profile/pr ofileinfo_ template.h tml',
  124       "<div  class=\"mo dal-header \"><h1 cla ss=\"modal -title tex t-center\" >{{title}} </h1></div ><div clas s=\"modal- body\"><p> No data wi ll be used  outside o f this app lication a nd only wh at you sel ect to sha re will be  available  to other  members to  search fo r or see.  To remain  anonymous,  you can c hoose to o nly enter  a Screen N ame and no t share an y informat ion. This  means that  other mem bers will  not be abl e to searc h for you  by any oth er items.  By creatin g a profil e you are  agreeing t o use the  Veteran Li nk applica tion and a llow other  members t o see your  shared in formation. </p></div> <div class =\"modal-f ooter\"><b utton type =\"button\ " id=\"can cel\" clas s=\"btn bt n-default\ " data-dis miss=\"mod al\" data- ng-click=\ "cancel($e vent)\" ac cesskey=\" a\">Close< /button><! --\r" +
  125       "\n" +
  126       "         <a id=\ "cancel\"  href=\"#\"  type=\"bu tton\" cla ss=\"btn b tn-default \" data-di smiss=\"mo dal\" data -ng-click= \"cancel($ event)\" a utofocus>O K</a>--></ div>"
  127     );
  128  
  129  
  130     $templat eCache.put ('componen ts/modals/ profile/pr ofilepriva te_templat e.html',
  131       "<div  class=\"mo dal-header \"><h1 cla ss=\"modal -title tex t-center\" >{{title}} </h1></div ><div clas s=\"modal- body\"><p> Are you su re you wan t to make  all of you r informat ion privat e?</p></di v><div cla ss=\"modal -footer\"> <div class =\"btn-gro up\"><butt on type=\" button\" i d=\"ok\" c lass=\"btn  btn-defau lt\" data- dismiss=\" modal\" da ta-ng-clic k=\"ok($ev ent)\" acc esskey=\"a \">OK</but ton> <butt on type=\" button\" i d=\"cancel \" class=\ "btn btn-d efault\" d ata-dismis s=\"modal\ " data-ng- click=\"ca ncel($even t)\" acces skey=\"b\" >Cancel</b utton></di v></div>"
  132     );
  133  
  134  
  135     $templat eCache.put ('componen ts/modals/ profile/sc reennamein fo_templat e.html',
  136       "<div  class=\"mo dal-header \"><h1 cla ss=\"modal -title tex t-center\" >{{title}} </h1></div ><div clas s=\"modal- body\"><p> The screen  name is t he only re quired fie ld in the  profile. I t can be u p to 20 ch aracters ( letters, n umbers, an d/or speci al charact ers) that  you want t o use as a n identifi er in the  applicatio n. Screen  name is al ways share d and sear chable by  others. Th e screen n ame should  be someth ing that d oes not id entify you  directly.  Each scre en name is  unique.</ p></div><d iv class=\ "modal-foo ter\"><but ton type=\ "button\"  id=\"cance l\" class= \"btn btn- default\"  data-dismi ss=\"modal \" data-ng -click=\"o k($event)\ " accesske y=\"a\">OK </button>< /div>"
  137     );
  138  
  139  
  140     $templat eCache.put ('componen ts/pages/a ccount/edi t_template .html',
  141       "<div  class=\"co ntainer\"  role=\"mai n\"><form  name=\"pro file\" id= \"profile\ " data-ng- submit=\"s ave()\" cl ass=\"form -horizonta l\" data-c onfirm-mod al=\"profi le/confirm \" data-co nfirm-on-e xit=\"Are  you sure y ou want to  leave wit hout savin g?\"><h2 c lass=\"hdr -title\">< span id=\" myProfileL abel\">My  Profile</s pan> <smal l class=\" hdr-title- subtext\"> (You can e dit any fi eld on thi s screen,  selecting  another pi cture will  erase the  old pictu re)</small ></h2><div  class=\"t ext-right\ " aria-hid den=\"true \"><span>< span class =\"red\">* </span> re quired fie ld</span>< /div><div  id=\"profi ledirectio n\">Enter  the follow ing inform ation for  your profi le. Select  the \"Sha re\" check box for ea ch item to  make the  informatio n public a nd searcha ble.</div> <p class=\ "text-note \">Please  note that  your scree n name wil l <strong> always</st rong> be s hared.</p> <div class =\"form-gr oup\" data -ng-class= \"{'has-er ror': prof ile.userNa me.$invali d, 'has-su ccess': pr ofile.user Name.$vali d}\"><div  class=\"co l-sm-2\" a ria-hidden =\"{{!isAn droid || ( isAndroid  && !userNa me)}}\"><l abel id=\" userNameLa bel\" for= \"userName \" class=\ "control-l abel\"><sp an class=\ "sr-only-l abel\" ari a-hidden=\ "{{!isAndr oid || (is Android &&  !userName )}}\">My P rofile, Sc reen Name,  Required< /span> <sp an class=\ "red\" ari a-hidden=\ "true\">*< /span> <sp an aria-hi dden=\"{{i sAndroid & & !!userNa me}}\">Scr een Name</ span></lab el></div>< div class= \"col-sm-6  col-xs-10 \"><input  data-retur n-focus ty pe=\"text\ " class=\" form-contr ol\" id=\" userName\"  placehold er=\"Enter  Screen Na me\" data- ng-model=\ "userName\ " name=\"u serName\"  data-custo m-maxlengt h maxlengt h=\"20\" r equired da ta-ng-blur =\"userNam eFocus = f alse\" dat a-ng-focus =\"userNam eFocus = t rue\" aria -labelledb y=\"myProf ileLabel u serNameLab el\"></div ><div clas s=\"col-sm -1 col-xs- 2\"><a id= \"screenNa meInfoButt on\" role= \"button\"  href=\"#\ " id=\"ope nPopupLink \" data-bs -modal=\"' profile/sc reennamein fo'\" titl e=\"View S creen Name  Informati on\" aria- labelledby =\"myProfi leLabel sc reenNameIn foButton\" ><span cla ss=\"sr-on ly\">View  Screen Nam e Informat ion</span>  <i class= \"glyphico n glyphico n-info-sig n\" id=\"i cninfo\" a ria-hidden =\"true\"> </i></a></ div></div> <div data- ng-if=\"pr ofile.user Name.$erro r.username unique &&  (!userName Focus || s aveattempt ed)\" id=\ "usernameu niqueerror \" class=\ "alert ale rt-danger\ " role=\"\ " data-err or-aria-al ert>Screen  Name must  be unique .</div><hr  aria-hidd en=\"true\ "><div cla ss=\"bs-ca llout bs-c allout-def ault\"><h3  id=\"PISe ction\">Pe rsonal Inf ormation</ h3><div ar ia-hidden= \"true\" c lass=\"for m-group\"> <div class =\"col-sm- 2 col-xs-1 \"></div>< div class= \"col-sm-6  col-xs-8\ "></div><d iv class=\ "col-sm-1  col-xs-2\" ><b>Share? </b></div> </div><div  class=\"f orm-group\ " data-ng- class=\"{' has-error' : profile. firstname. $invalid}\ "><div cla ss=\"col-s m-2\" aria -hidden=\" {{!isAndro id || (isA ndroid &&  !firstname )}}\"><lab el id=\"fi rstNameLab el\" for=\ "firstname \" class=\ "control-l abel\"><sp an class=\ "sr-only-l abel\" ari a-hidden=\ "{{!isAndr oid || (is Android &&  !firstnam e)}}\">My  Profile, F irst Name,  Minimum 1  character </span> <s pan aria-h idden=\"{{ isAndroid  && !!first name}}\">F irst Name< /span> <sp an class=\ "sr-only\"  aria-hidd en=\"{{isA ndroid &&  !!firstnam e}}\">Mini mum 1 char acter</spa n></label> </div><div  class=\"c ol-sm-6 co l-xs-10\"> <input dat a-return-f ocus type= \"text\" c lass=\"for m-control\ " id=\"fir stname\" p laceholder =\"Enter F irst Name  - Min: 1 c haracter\"  data-ng-m odel=\"fir stname\" d ata-ng-min length=\"1 \" data-cu stom-maxle ngth maxle ngth=\"50\ " name=\"f irstname\"  data-ng-b lur=\"firs tnamefocus  = false;  private.fi rstname =  private.fi rstname &&  firstname  !== ''\"  data-ng-fo cus=\"firs tnamefocus  = true\"  aria-label ledby=\"PI Section fi rstNameLab el\"></div ><div clas s=\"col-sm -1 col-xs- 2 text-cen ter\"><lab el id=\"sh areFirstNa meLabel\"  aria-hidde n=\"true\"  for=\"pfi rstname\"  class=\"sr -only\">Sh are your f irst name< /label><in put type=\ "checkbox\ " value=\" None\" id= \"pfirstna me\" name= \"pfirstna me\" title =\"Share F irst Name\ " data-ng- model=\"pr ivate.firs tname\" da ta-ng-disa bled=\"fir stname==''  || firstn ame==null  || profile .firstname .$invalid\ " aria-hid den=\"{{fi rstname==' ' || first name==null  || profil e.firstnam e.$invalid }}\" aria- labelledby =\"PISecti on shareFi rstNameLab el\"></div ></div><di v data-ng- if=\"profi le.firstna me.$error. minlength  && (!first namefocus  || saveatt empted)\"  class=\"al ert alert- danger\" r ole=\"\" d ata-error- aria-alert >First Nam e has a mi nimum leng th of 1.</ div><div c lass=\"for m-group\"  data-ng-cl ass=\"{'ha s-error':  profile.la stname.$in valid}\">< div class= \"col-sm-2 \" aria-hi dden=\"{{! isAndroid  || (isAndr oid && !la stname)}}\ "><label i d=\"lastNa meLabel\"  for=\"last name\" cla ss=\"contr ol-label\" ><span cla ss=\"sr-on ly-label\"  aria-hidd en=\"{{!is Android ||  (isAndroi d && !last name)}}\"> My Profile , Last Nam e, Minimum  2 charact ers</span>  <span ari a-hidden=\ "{{isAndro id && !!la stname}}\" >Last Name </span> <s pan class= \"sr-only\ " aria-hid den=\"{{is Android &&  !!lastnam e}}\">Mini mum 2 char acters</sp an></label ></div><di v class=\" col-sm-6 c ol-xs-10\" ><input da ta-return- focus type =\"text\"  class=\"fo rm-control \" id=\"la stname\" p laceholder =\"Enter L ast Name -  Min: 2 ch aracters\"  data-ng-m odel=\"las tname\" da ta-ng-minl ength=\"2\ " data-cus tom-maxlen gth maxlen gth=\"50\"  name=\"la stname\" d ata-ng-blu r=\"lastna mefocus =  false; pri vate.lastn ame = priv ate.lastna me && last name !== ' '\" data-n g-focus=\" lastnamefo cus = true \" aria-la belledby=\ "PISection  lastNameL abel\"></d iv><div cl ass=\"col- sm-1 col-x s-2 text-c enter\"><l abel id=\" shareLastN ameLabel\"  aria-hidd en=\"true\ " for=\"pl astname\"  class=\"sr -only\">Sh are your l ast name</ label><inp ut type=\" checkbox\"  value=\"N one\" titl e=\"Share  Last Name\ " data-ng- model=\"pr ivate.last name\" id= \"plastnam e\" name=\ "plastname \" data-ng -disabled= \"lastname =='' || la stname==nu ll || prof ile.lastna me.$invali d\" aria-h idden=\"{{ lastname== '' || last name==null  || profil e.lastname .$invalid} }\" aria-l abelledby= \"PISectio n shareLas tNameLabel \"></div>< /div><div  data-ng-if =\"profile .lastname. $error.min length &&  (!lastname focus || s aveattempt ed)\" clas s=\"alert  alert-dang er\" role= \"\" data- error-aria -alert id= \"lastname error\">La st Name ha s a minimu m length o f 2.</div> <div class =\"form-gr oup\"><div  class=\"c ol-sm-2\"  aria-hidde n=\"{{!isA ndroid ||  (isAndroid  && !dob)} }\"><label  id=\"date OfBirthLab el\" for=\ "dateOfBir th\" class =\"control -label\">< span class =\"sr-only -label\" a ria-hidden =\"{{!isAn droid || ( isAndroid  && !dob)}} \">My Prof ile, Date  of Birth,  Format MM/ DD/YYYY</s pan> <span  aria-hidd en=\"{{isA ndroid &&  !!dob}}\"> Date of Bi rth</span>  <span cla ss=\"sr-on ly\" aria- hidden=\"{ {isAndroid  && !!dob} }\">Format  MM/DD/YYY Y</span></ label></di v><div cla ss=\"col-s m-6 col-xs -10 date-w rap\"><dat e-control  data-field -id=\"date OfBirth\"  name=\"pDa teOfBirth\ " label=\" Date of Bi rth\" data -show-labe l=\"false\ " data-hid e-day=\"tr ue\" data- date-forma t=\"MM/dd/ yyyy\" dat a-ng-model =\"dob\" d ata-future -allowed=\ "false\" d ata-allowe d-date-ran ge=\"allow edDobRange \" data-ng -required= \"ngRequir ed\" data- ui-validat e=\"{date:  'validate Date($valu e)'}\" dat a-on-field -focus=\"d obFocus =  true\" dat a-on-field -blur=\"do bFocus = f alse\" dat a-field-ar ia-labelle dby=\"PISe ction date OfBirthLab el\"></div ><div clas s=\"col-sm -1 col-xs- 2 text-cen ter\"><lab el id=\"sh areDateOfB irthLabel\ " aria-hid den=\"true \" for=\"p dob\" clas s=\"sr-onl y\">Share  your date  of birth</ label><inp ut type=\" checkbox\"  value=\"N one\" titl e=\"Share  Date of Bi rth\" data -ng-model= \"private. dob\" id=\ "pdob\" na me=\"pdob\ " data-ng- disabled=\ "dob=='' | | dob==nul l || profi le.dateOfB irth.$inva lid || pro file.pdob. $error.dat e\" aria-h idden=\"{{ dob=='' ||  dob==null  || profil e.dateOfBi rth.$inval id || prof ile.pdob.$ error.date }}\" aria- labelledby =\"PISecti on shareDa teOfBirthL abel\"></d iv></div>< div data-n g-if=\"(pr ofile.pdob .$error.da te && prof ile.pdob.$ error.futu re) && (!d obFocus ||  saveattem pted)\" id =\"dobFutu reError\"  class=\"al ert alert- danger\" r ole=\"\" d ata-error- aria-alert >Date of B irth must  not be a f uture date .</div><di v data-ng- if=\"(prof ile.pdob.$ error.date  && !profi le.pdob.$e rror.futur e) && (!do bFocus ||  saveattemp ted)\" id= \"dobForma tError\" c lass=\"ale rt alert-d anger\" ro le=\"\" da ta-error-a ria-alert> Date of Bi rth must b e a valid  date in th is format  (MM/DD/YYY Y).</div>< div class= \"form-gro up\"><div  class=\"co l-sm-2\" a ria-hidden =\"true\"> <label id= \"genderLa bel\" clas s=\"contro l-label\"> Gender</la bel></div> <div class =\"col-sm- 6 col-xs-1 0\" role=\ "radiogrou p\"><div c lass=\"col -sm-6 col- xs-12\" ro le=\"prese ntation\"> <div class =\"input-g roup\" rol e=\"presen tation\">< span class =\"input-g roup-addon \" role=\" presentati on\"><inpu t data-ret urn-focus  type=\"rad io\" title =\"Female\ " data-ng- model=\"ge nder\" val ue=\"FEMAL E\" id=\"f emale\" ro le=\"radio \" aria-ch ecked=\"{{ gender ===  'FEMALE'} }\" aria-l abelledby= \"PISectio n femaleGe nderLabel\ "></span>< label aria -hidden=\" true\" id= \"femaleGe nderLabel\ " for=\"fe male\" cla ss=\"form- control\"> <span clas s=\"sr-onl y\">Gender </span>Fem ale</label ></div></d iv><div cl ass=\"col- sm-6 col-x s-12\" rol e=\"presen tation\">< div class= \"input-gr oup\" role =\"present ation\"><s pan class= \"input-gr oup-addon\ " role=\"p resentatio n\"><input  data-retu rn-focus t ype=\"radi o\" title= \"Male\" d ata-ng-mod el=\"gende r\" value= \"MALE\" i d=\"male\"  role=\"ra dio\" aria -checked=\ "{{gender  === 'MALE' }}\" aria- labelledby =\"PISecti on maleGen derLabel\" ></span><l abel aria- hidden=\"t rue\" id=\ "maleGende rLabel\" f or=\"male\ " class=\" form-contr ol\"><span  class=\"s r-only\">G ender</spa n>Male</la bel></div> </div></di v><div cla ss=\"col-s m-1 col-xs -2 text-ce nter\"><la bel id=\"s hareGender Label\" ar ia-hidden= \"true\" f or=\"pgend er\" class =\"sr-only \">Share y our gender </label><i nput type= \"checkbox \" value=\ "None\" ti tle=\"Shar e Gender\"  data-ng-m odel=\"pri vate.gende r\" id=\"p gender\" n ame=\"pgen der\" data -ng-disabl ed=\"!gend er\" aria- hidden=\"{ {!gender}} \" aria-la belledby=\ "PISection  shareGend erLabel\"> </div></di v><div cla ss=\"form- group\"><d iv class=\ "col-sm-2\ " aria-hid den=\"{{!i sAndroid | | (isAndro id && !bra nch)}}\">< label id=\ "branchLbl \" for=\"b ranch\" cl ass=\"cont rol-label\ "><span cl ass=\"sr-o nly-label\ " aria-hid den=\"{{!i sAndroid | | (isAndro id && !bra nch)}}\">M y Profile,  Affiliati on</span>  <span aria -hidden=\" {{isAndroi d && !!bra nch}}\">Af filiation< /span></la bel></div> <div class =\"col-sm- 6 col-xs-1 0\"><selec t data-ret urn-focus  class=\"fo rm-control \" id=\"br anch\" nam e=\"branch \" data-ng -model=\"b ranch\" da ta-ng-opti ons=\"bran ch.service Name as br anch.servi ceName for  branch in  branches\ " data-ng- change=\"p rivate.bra nch = priv ate.branch  && branch  !== null;  branchcha nge()\" ar ia-labelle dby=\"PISe ction bran chLbl\"><o ption valu e=\"\" ari a-labelled by=\"PISec tion branc hLbl\">Non e</option> </select>< /div><div  class=\"co l-sm-1 col -xs-2 text -center\"> <label id= \"shareBra nchLbl\" a ria-hidden =\"true\"  for=\"pbra nch\" clas s=\"sr-onl y\">Share  your branc h of servi ce</label> <input typ e=\"checkb ox\" value =\"None\"  title=\"Sh are Branch  of Servic e\" data-n g-model=\" private.br anch\" id= \"pbranch\ " name=\"p branch\" d ata-ng-dis abled=\"br anch=='' | | branch== null || pr ofile.bran ch.$invali d\" aria-h idden=\"{{ branch==''  || branch ==null ||  profile.br anch.$inva lid}}\" ar ia-labelle dby=\"PISe ction shar eBranchLbl \"></div>< /div><div  class=\"fo rm-group\" ><div clas s=\"col-sm -2\" aria- hidden=\"{ {!isAndroi d || (isAn droid && ! status)}}\ "><label i d=\"status Lbl\" for= \"status\"  class=\"c ontrol-lab el\"><span  class=\"s r-only-lab el\" aria- hidden=\"{ {!isAndroi d || (isAn droid && ! status)}}\ ">My Profi le, Status </span> <s pan aria-h idden=\"{{ isAndroid  && !!statu s}}\">Stat us</span>< /label></d iv><div cl ass=\"col- sm-6 col-x s-10\"><se lect data- return-foc us class=\ "form-cont rol\" id=\ "status\"  name=\"sta tus\" data -ng-model= \"status\"  data-ng-c hange=\"pr ivate.stat us = priva te.status  && status  !== null\"  data-ng-o ptions=\"s tatus.text  as status .text for  status in  statuses\"  aria-labe lledby=\"P ISection s tatusLbl\" ><option v alue=\"\"  aria-label ledby=\"PI Section st atusLbl\"> None</opti on></selec t></div><d iv class=\ "col-sm-1  col-xs-2 t ext-center \"><label  id=\"share StatusLbl\ " aria-hid den=\"true \" for=\"p status\" c lass=\"sr- only\">Sha re your mi litary sta tus</label ><input ty pe=\"check box\" valu e=\"None\"  title=\"S hare Milit ary Status \" data-ng -model=\"p rivate.sta tus\" id=\ "pstatus\"  name=\"ps tatus\" da ta-ng-disa bled=\"sta tus=='' ||  status==n ull || pro file.statu s.$invalid \" aria-hi dden=\"{{s tatus==''  || status= =null || p rofile.sta tus.$inval id}}\" ari a-labelled by=\"PISec tion share StatusLbl\ "></div></ div><div c lass=\"for m-group\"> <div class =\"col-sm- 2\" aria-h idden=\"{{ !isAndroid  || (isAnd roid && !r ank)}}\">< label id=\ "rankLbl\"  for=\"ran k\" class= \"control- label\"><s pan class= \"sr-only- label\" ar ia-hidden= \"{{!isAnd roid || (i sAndroid & & !rank)}} \">My Prof ile, Milit ary Rank</ span> <spa n aria-hid den=\"{{is Android &&  !!rank}}\ ">Military  Rank</spa n></label> </div><div  class=\"c ol-sm-6 co l-xs-10\"> <select da ta-return- focus clas s=\"form-c ontrol\" i d=\"rank\"  data-ng-m odel=\"ran k\" data-n g-options= \"rank.tit le as rank .title for  rank in r anks\" dat a-ng-chang e=\"privat e.rank = p rivate.ran k && rank  !== null\"  aria-labe lledby=\"P ISection r ankLbl\">< option val ue=\"\" ar ia-labelle dby=\"PISe ction rank Lbl\">None </option>< /select></ div><div c lass=\"col -sm-1 col- xs-2 text- center\">< label id=\ "shareRank Lbl\" aria -hidden=\" true\" for =\"prank\"  class=\"s r-only\">S hare your  military r ank</label ><input ty pe=\"check box\" valu e=\"None\"  title=\"S hare Milit ary Rank\"  data-ng-m odel=\"pri vate.rank\ " id=\"pra nk\" name= \"prank\"  data-ng-di sabled=\"r ank=='' ||  rank==nul l || profi le.rank.$i nvalid\" a ria-hidden =\"{{rank= ='' || ran k==null ||  profile.r ank.$inval id}}\" ari a-labelled by=\"PISec tion share RankLbl\"> </div></di v></div><d iv class=\ "bs-callou t bs-callo ut-default \"><div cl ass=\"form -group col -sm-12\">< h3 id=\"RS ection\">R esidence</ h3></div>< div aria-h idden=\"tr ue\" class =\"form-gr oup\"><div  class=\"c ol-sm-2 co l-xs-1\">< /div><div  class=\"co l-sm-6 col -xs-8\"></ div><div c lass=\"col -sm-1 col- xs-2\"><b> Share?</b> </div></di v><div cla ss=\"form- group\"><d iv class=\ "col-sm-2\ " aria-hid den=\"{{!i sAndroid | | (isAndro id && !cou ntry)}}\"> <label id= \"countryL abel\" for =\"country \" class=\ "control-l abel\"><sp an class=\ "sr-only-l abel\" ari a-hidden=\ "{{!isAndr oid || (is Android &&  !country) }}\">Resid ence, Coun try</span>  <span ari a-hidden=\ "{{isAndro id && !!co untry}}\"> Country</s pan></labe l></div><d iv class=\ "col-sm-6  col-xs-10\ "><select  data-retur n-focus cl ass=\"form -control\"  id=\"coun try\" name =\"country \" data-ng -model=\"c ountry\" d ata-ng-cha nge=\"priv ate.countr y = privat e.country  && country  !== null\ " data-ng- options=\" country.na me as coun try.name f or country  in countr ies\" aria -labelledb y=\"RSecti on country Label\"><o ption valu e=\"\" ari a-labelled by=\"RSect ion countr yLabel\">N one</optio n></select ></div><di v class=\" col-sm-1 c ol-xs-2 te xt-center\ "><label i d=\"shareC ountryLabe l\" aria-h idden=\"tr ue\" for=\ "pcountry\ " class=\" sr-only\"> Share your  country</ label><inp ut type=\" checkbox\"  value=\"N one\" titl e=\"Share  Country\"  data-ng-mo del=\"priv ate.countr y\" id=\"p country\"  name=\"pco untry\" da ta-ng-disa bled=\"cou ntry=='' | | country= =null || p rofile.cou ntry.$inva lid\" aria -hidden=\" {{country= ='' || cou ntry==null  || profil e.country. $invalid}} \" aria-la belledby=\ "RSection  shareCount ryLabel\"> </div></di v><div cla ss=\"form- group\"><d iv class=\ "col-sm-2\ " aria-hid den=\"{{(! isAndroid  || (isAndr oid && !st ate)) || ( country==' ' || count ry == null  || countr y !== 'Uni ted States ')}}\"><la bel id=\"s tateLabel\ " for=\"st ate\" clas s=\"contro l-label\"> <span clas s=\"sr-onl y-label\"  aria-hidde n=\"{{!isA ndroid ||  (isAndroid  && !state )}}\">Resi dence, Sta te</span>  <span aria -hidden=\" {{isAndroi d && !!sta te}}\">Sta te</span>< /label></d iv><div cl ass=\"col- sm-6 col-x s-10\"><se lect data- return-foc us class=\ "form-cont rol\" id=\ "state\" n ame=\"stat e\" data-n g-model=\" state\" da ta-ng-opti ons=\"stat e.name as  state.name  for state  in states \" data-ng -change=\" private.st ate = priv ate.state  && state ! == null\"  data-ng-di sabled=\"c ountry==''  || countr y == null  || country  !== 'Unit ed States' \" aria-hi dden=\"{{c ountry==''  || countr y == null  || country  !== 'Unit ed States' }}\" data- ng-show=\" country ==  'United S tates'\" a ria-labell edby=\"RSe ction stat eLabel\">< option val ue=\"\" ar ia-labelle dby=\"RSec tion state Label\">No ne</option ></select> <input typ e=\"text\"  class=\"f orm-contro l\" id=\"n otusstate\ " name=\"s tate\" dat a-ng-model =\"state\"  data-ng-d isabled=\" country==' ' || count ry == null \" aria-hi dden=\"{{c ountry==''  || countr y == null  || country  === 'Unit ed States' }}\" place holder=\"E nter State \" data-cu stom-maxle ngth maxle ngth=\"50\ " data-ng- show=\"cou ntry !== ' United Sta tes'\" ari a-labelled by=\"RSect ion stateL abel\"></d iv><div cl ass=\"col- sm-1 col-x s-2 text-c enter\"><l abel id=\" shareState Label\" ar ia-hidden= \"true\" f or=\"pstat e\" class= \"sr-only\ ">Share yo ur state</ label><inp ut type=\" checkbox\"  value=\"N one\" titl e=\"Share  State\" da ta-ng-mode l=\"privat e.state\"  id=\"pstat e\" name=\ "pstate\"  data-ng-di sabled=\"s tate=='' | | state==n ull || pro file.state .$invalid\ " aria-hid den=\"{{st ate=='' ||  state==nu ll || prof ile.state. $invalid}} \" aria-la belledby=\ "RSection  shareState Label\"></ div></div> <div class =\"form-gr oup\"><div  class=\"c ol-sm-2\"  aria-hidde n=\"{{(!is Android ||  (isAndroi d && !city )) || (cou ntry == nu ll || coun try == '') }}\"><labe l id=\"cit yLabel\" f or=\"city\ " class=\" control-la bel\"><spa n class=\" sr-only-la bel\" aria -hidden=\" {{!isAndro id || (isA ndroid &&  !city)}}\" >Residence , City</sp an> <span  aria-hidde n=\"{{isAn droid && ! !city}}\"> City</span ></label>< /div><div  class=\"co l-sm-6 col -xs-10\">< input data -return-fo cus type=\ "text\" cl ass=\"form -control\"  id=\"city \" placeho lder=\"Ent er City\"  data-ng-mo del=\"city \" data-ng -minlength =\"1\" dat a-ng-blur= \"private. city = pri vate.city  && city != = ''\" dat a-custom-m axlength m axlength=\ "50\" data -ng-disabl ed=\"count ry == null  || countr y == ''\"  aria-hidde n=\"{{coun try == nul l || count ry == ''}} \" aria-la belledby=\ "RSection  cityLabel\ "></div><d iv class=\ "col-sm-1  col-xs-2 t ext-center \"><label  id=\"share CityLabel\ " aria-hid den=\"true \" for=\"p city\" cla ss=\"sr-on ly\">Share  your city </label><i nput type= \"checkbox \" value=\ "None\" ti tle=\"Shar e City\" d ata-ng-mod el=\"priva te.city\"  id=\"pcity \" name=\" pcity\" da ta-ng-disa bled=\"cit y=='' || c ity==null  || profile .city.$inv alid\" ari a-hidden=\ "{{city==' ' || city= =null || p rofile.cit y.$invalid }}\" aria- labelledby =\"RSectio n shareCit yLabel\">< /div></div ><div clas s=\"form-g roup\" dat a-ng-class =\"{'has-e rror': pro file.zipco de.$invali d}\"><div  class=\"co l-sm-2\" a ria-hidden =\"{{(!isA ndroid ||  (isAndroid  && !zipco de)) || (c ountry ==  null || co untry =='' )}}\"><lab el id=\"zi pCodeLabel \" for=\"z ipcode\" c lass=\"con trol-label \"><span c lass=\"sr- only-label \" aria-hi dden=\"{{! isAndroid  || (isAndr oid && !zi pcode)}}\" >Residence , {{(count ry == \"Un ited State s\")?\"Zip  Code\" :  \"Postal C ode\"}}</s pan> <span  aria-hidd en=\"{{isA ndroid &&  !!zipcode} }\">{{(cou ntry == \" United Sta tes\")?\"Z ip Code\"  : \"Postal  Code\"}}< /span></la bel></div> <div class =\"col-sm- 6 col-xs-1 0\"><input  data-retu rn-focus t ype=\"text \" class=\ "form-cont rol\" id=\ "zipcode\"  data-ng-b lur=\"zipc odeblurred  = true; p rivate.zip code = pri vate.zipco de && zipc ode !== '' \" data-ng -focus=\"z ipcodeblur red = fals e\" data-n g-model=\" zipcode\"  ui-validat e=\"{mask  : 'isZipCo deValid(pr ofile.zipc ode.$viewV alue)'}\"  placeholde r=\"{{(cou ntry == 'U nited Stat es')?'Ente r Zip Code  ( 5 Digit s )' : 'En ter Postal  Code ( Al phanumeric , /, Hyphe n, Spaces  )'}}\" nam e=\"zipcod e\" data-n g-disabled =\"country  == null | | country  ==''\" ari a-hidden=\ "{{country  == null | | country  ==''}}\" d ata-number  aria-labe lledby=\"R Section zi pCodeLabel \"></div>< div class= \"col-sm-1  col-xs-2  text-cente r\"><label  id=\"shar eZipCodeLa bel\" aria -hidden=\" true\" for =\"pzipcod e\" class= \"sr-only\ ">Share yo ur {{(coun try == \"U nited Stat es\")?\"zi p code\":  \"postal c ode\" }}</ label><inp ut type=\" checkbox\"  value=\"N one\" titl e=\"Share  {{(country  == 'Unite d States') ?'zip code ': 'postal  code' }}\ " data-ng- model=\"pr ivate.zipc ode\" id=\ "pzipcode\ " name=\"p zipcode\"  data-ng-di sabled=\"z ipcode==''  || zipcod e==null ||  profile.z ipcode.$in valid\" ar ia-hidden= \"{{zipcod e=='' || z ipcode==nu ll || prof ile.zipcod e.$invalid }}\" aria- labelledby =\"RSectio n shareZip CodeLabel\ "></div></ div><div d ata-ng-if= \"profile. zipcode.$e rror.mask  && (zipcod eblurred | | saveatte mpted)\" c lass=\"ale rt alert-d anger\" ro le=\"\" da ta-error-a ria-alert  id=\"ziper ror\">Zipc ode must b e a 5 digi t number.< /div><div  class=\"fo rm-group\"  data-ng-c lass=\"{'h as-error':  profile.h omenumber. $error.mas k && homen umber !==  ''}\"><div  class=\"c ol-sm-2\"  aria-hidde n=\"{{(!is Android ||  (isAndroi d && !home number)) | | (country ==''||coun try==null) }}\"><labe l id=\"hom eNumberLab el\" for=\ "homenumbe r\" class= \"control- label\"><s pan class= \"sr-only- label\" ar ia-hidden= \"{{!isAnd roid || (i sAndroid & & !homenum ber)}}\">R esidence,  Home Phone </span> <s pan aria-h idden=\"{{ isAndroid  && !!homen umber}}\"> Home Phone </span></l abel></div ><div clas s=\"col-sm -6 col-xs- 10\"><inpu t data-ret urn-focus  type=\"tex t\" class= \"form-con trol\" id= \"homenumb er\" data- ng-blur=\" homenumber blurred =  true; priv ate.homenu mber = pri vate.homen umber && h omenumber  !== '' &&  profile.ho menumber.$ valid\" da ta-ng-focu s=\"homenu mberblurre d = false\ " data-ng- model=\"ho menumber\"  data-jq-u i-validate =\"{mask :  'isPhoneN umberValid ($value)'} \" data-jq -ui-valida te-pattern =\"{{(coun try === 'U nited Stat es')?'(000 ) 000-0000 ':'0000000 0000000000 0'}}\" pla ceholder=\ "{{(countr y === 'Uni ted States ') ? 'Ente r Home Pho ne Number'  : 'Enter  Home Phone  Number (  numbers on ly, includ ing countr y code )'} }\" name=\ "homenumbe r\" data-n umber data -ng-disabl ed=\"count ry==''||co untry==nul l\" aria-h idden=\"{{ country==' '||country ==null}}\"  aria-labe lledby=\"R Section ho meNumberLa bel\"></di v><div cla ss=\"col-s m-1 col-xs -2 text-ce nter\"><la bel id=\"s hareHomeNu mberLabel\ " aria-hid den=\"true \" for=\"p honenumber \" class=\ "sr-only\" >Share you r home num ber</label ><input ty pe=\"check box\" valu e=\"None\"  title=\"S hare home  phone numb er\" data- ng-model=\ "private.h omenumber\ " id=\"pho nenumber\"  name=\"ph onenumber\ " data-ng- disabled=\ "homenumbe r=='' || h omenumber= =null || p rofile.hom enumber.$i nvalid\" a ria-hidden =\"{{homen umber==''  || homenum ber==null  || profile .homenumbe r.$invalid }}\" aria- labelledby =\"RSectio n shareHom eNumberLab el\"></div ></div><di v data-ng- if=\"profi le.homenum ber.$error .mask && ( homenumber blurred ||  saveattem pted)\" cl ass=\"aler t alert-da nger\" id= \"homeerro r\" role=\ "\" data-e rror-aria- alert>{{(c ountry ===  'United S tates') ?  'Please pr ovide a 10 -digit US  phone numb er.' : 'Pl ease provi de a 8 to  18 digit p hone numbe r includin g country  code'}}</d iv><div cl ass=\"form -group\" d ata-ng-cla ss=\"{'has -error': p rofile.cel lnumber.$i nvalid &&  cellnumber  !== ''}\" ><div clas s=\"col-sm -2\" aria- hidden=\"{ {(!isAndro id || (isA ndroid &&  !cellnumbe r)) || (co untry==''| | country= =null)}}\" ><label id =\"cellNum berLabel\"  for=\"cel lnumber\"  class=\"co ntrol-labe l\"><span  class=\"sr -only-labe l\" aria-h idden=\"{{ !isAndroid  || (isAnd roid && !c ellnumber) }}\">Resid ence, Cell  Phone</sp an> <span  aria-hidde n=\"{{isAn droid && ! !cellnumbe r}}\">Cell  Phone</sp an></label ></div><di v class=\" col-sm-6 c ol-xs-10\" ><input da ta-return- focus type =\"text\"  class=\"fo rm-control \" id=\"ce llnumber\"  data-ng-b lur=\"cell numberblur red = true ; private. cellnumber  = private .cellnumbe r && celln umber !==  '' && prof ile.cellnu mber.$vali d\" data-n g-focus=\" cellnumber blurred =  false\" da ta-ng-mode l=\"cellnu mber\" dat a-jq-ui-va lidate=\"{ mask : 'is PhoneNumbe rValid($va lue)'}\" d ata-jq-ui- validate-p attern=\"{ {(country  === 'Unite d States') ?'(000) 00 0-0000':'0 0000000000 0000000'}} \" placeho lder=\"{{( country == = 'United  States') ?  'Enter Ce ll Phone N umber' : ' Enter Cell  Phone Num ber ( numb ers only,  including  country co de )'}}\"  name=\"cel lnumber\"  data-numbe r data-ng- disabled=\ "country== ''|| count ry==null\"  aria-hidd en=\"{{cou ntry==''||  country== null}}\" a ria-labell edby=\"RSe ction cell NumberLabe l\"></div> <div class =\"col-sm- 1 col-xs-2  text-cent er\"><labe l id=\"sha reCellNumb erLabel\"  aria-hidde n=\"true\"  for=\"pce llnumber\"  class=\"s r-only\">S hare your  cell numbe r</label>< input type =\"checkbo x\" value= \"None\" t itle=\"Sha re cell nu mber\" dat a-ng-model =\"private .cellnumbe r\" id=\"p cellnumber \" name=\" pcellnumbe r\" data-n g-disabled =\"cellnum ber=='' ||  cellnumbe r==null ||  profile.c ellnumber. $invalid\"  aria-hidd en=\"{{cel lnumber==' ' || celln umber==nul l || profi le.cellnum ber.$inval id}}\" ari a-labelled by=\"RSect ion shareC ellNumberL abel\"></d iv></div>< div data-n g-if=\"pro file.celln umber.$err or.mask &&  (cellnumb erblurred  || saveatt empted)\"  class=\"al ert alert- danger\" i d=\"celler ror\" role =\"\" data -error-ari a-alert>{{ (country = == 'United  States')  ? 'Please  provide a  10 digit U S phone nu mber.' : ' Please pro vide a 8 t o 18 digit  phone num ber includ ing countr y code'}}< /div><div  class=\"fo rm-group\"  data-ng-c lass=\"{'h as-error':  profile.e mail.$inva lid && ema ilblurred} \"><div cl ass=\"col- sm-2\" ari a-hidden=\ "{{!isAndr oid || (is Android &&  !email)}} \"><label  id=\"email Label\" fo r=\"email\ " class=\" control-la bel\"><spa n class=\" sr-only-la bel\" aria -hidden=\" {{!isAndro id || (isA ndroid &&  !email)}}\ ">Residenc e, Email</ span> <spa n aria-hid den=\"{{is Android &&  !!email}} \">Email</ span></lab el></div>< div class= \"col-sm-6  col-xs-10 \"><input  data-retur n-focus ty pe=\"text\ " class=\" form-contr ol\" data- ng-blur=\" emailblurr ed = true;  private.e mail = pri vate.email  && email  !== '' &&  profile.em ail.$valid \" data-ng -focus=\"e mailblurre d = false\ " data-ng- model=\"em ail\" data -custom-ma xlength ma xlength=\" 100\" id=\ "email\" n ame=\"emai l\" placeh older=\"En ter Email\ " data-ng- pattern=\" /\\S+@\\S+ \\.\\S+/\"  aria-labe lledby=\"R Section em ailLabel\" ></div><di v class=\" col-sm-1 c ol-xs-2 te xt-center\ "><label i d=\"shareE mailLabel\ " aria-hid den=\"true \" for=\"p email\" cl ass=\"sr-o nly\">Shar e your ema il</label> <input typ e=\"checkb ox\" value =\"None\"  title=\"Sh are Email\ " data-ng- model=\"pr ivate.emai l\" id=\"p email\" na me=\"pemai l\" data-n g-disabled =\"email== '' || emai l==null ||  profile.e mail.$inva lid\" aria -hidden=\" {{email==' ' || email ==null ||  profile.em ail.$inval id}}\" ari a-labelled by=\"RSect ion shareE mailLabel\ "></div></ div><div d ata-ng-if= \"profile. email.$inv alid && em ailblurred \" class=\ "alert ale rt-danger\ " role=\"\ " data-err or-aria-al ert id=\"e mailerror\ ">Not a va lid email  address!</ div></div> <div class =\"bs-call out bs-cal lout-defau lt\" aria- labelledby =\"DSectio n\"><h3 id =\"DSectio n\">Diagno ses</h3><d iv class=\ "form-grou p\"><div i d=\"addDia gnosisText \" class=\ "col-sm-12 \"><div>Di agnosis wi ll not be  displayed  with your  profile in formation.  Sharing y our diagno sis will a llow the d iagnosis t o be searc hable.</di v><div>You  may add u p to seven  diagnoses .</div></d iv><div ar ia-hidden= \"true\" c lass=\"col -sm-2 col- xs-8\"><la bel class= \"control- label\" fo r=\"new-di agnosis\"> Diagnosis  Lookup Lis t</label>< /div><div  class=\"co l-sm-6 col -xs-10\">< div class= \"input-gr oup\"><div ><div data -angucompl ete-alt id =\"new-dia gnosis\" d ata-type=\ "text\" da ta-placeho lder=\"Ent er diagnos is\" data- pause=\"10 0\" data-i nput-chang ed=\"selec tDiagnosis \" data-se lected-obj ect=\"sele ctDiagnosi s\" data-l ocal-data= \"diagnose s\" data-s earch-fiel ds=\"name\ " data-tit le-field=\ "name\" da ta-minleng th=\"3\" d ata-input- class=\"fo rm-control  form-cont rol-small\ " data-ove rride-sugg estions=\" true\" dat a-template -url=\"ass ets/templa tes/anguco mplete-alt -template. html\" dat a-input-na me=\"Diagn oses, Diag nosis Look up List\"> &nbsp;</di v></div><s pan class= \"input-gr oup-btn\"> <button ty pe=\"butto n\" id=\"a ddDiagnosi s\" class= \"btn btn- default\"  data-ng-cl ick=\"addD iagnosis() \" title=\ "Add a new  diagnosis .\" aria-l abelledby= \"DSection  addDiagno sis\">Add  <span clas s=\"sr-onl y\">&nbsp; Diagnosis< /span></bu tton></spa n></div></ div><div a ria-hidden =\"true\"  class=\"co l-xs-12\"> &nbsp;</di v><div cla ss=\"col-s m-6 col-xs -10 col-sm -offset-2  col-xs-off set-1\"><t able class =\"table c lrbth\" id =\"diagnos estbl\" ro le=\"prese ntation\"  data-ng-sh ow=\"local .diagnoses .length >  0\"><thead  aria-hidd en=\"true\ "><tr><th  scope=\"co l\" id=\"d iagnosis-t ablehead-d iagnosis\" >Diagnosis </th><th s cope=\"col \" id=\"di agnosis-ta blehead-sh are\">Shar e?</th></t r></thead> <tbody><tr  data-salv age-focus  scope=\"ro w\" data-n g-repeat=\ "diagnosis item in lo cal.diagno ses\"><td  class=\"co l-sm-6 col -xs-10\" h eaders=\"d iagnosis-t ablehead-d iagnosis\" ><label fo r=\"diag-{ {$index}}\ " class=\" diagnosis- label\"><i nput data- return-foc us type=\" checkbox\"  id=\"diag -{{$index} }\" name=\ "diag-{{$i ndex}}\" d ata-ng-mod el=\"diagn osisitem.i ncluded\"  title=\"{{  diagnosis item.value  }}\" aria -labelledb y=\"DSecti on diagnos isLabel{{$ index}}\">  <span id= \"diagnosi sLabel{{$i ndex}}\" a ria-hidden =\"true\"> {{ diagnos isitem.val ue }}</spa n></label> </td><td c lass=\"col -sm-1 col- xs-2 text- center\" h eaders=\"d iagnosis-t ablehead-s hare\"><la bel id=\"s hareDiagno sis{{$inde x}}\" for= \"pdiag-{{ $index}}\"  aria-hidd en=\"true\ " class=\" sr-only\"> Share {{di agnosisite m.value}}  Diagnosis< /label><in put type=\ "checkbox\ " title=\" Share {{di agnosisite m.value}}  Diagnosis\ " data-ng- model=\"di agnosisite m.shared\"  id=\"pdia g-{{$index }}\" aria- labelledby =\"DSectio n shareDia gnosis{{$i ndex}}\">< /td></tr>< /tbody></t able></div ></div><di v data-ng- if=\"local .diagnoses .length >=  7\" class =\"alert a lert-dange r\" role=\ "\" data-e rror-aria- alert>Maxi mum number  of diagno ses reache d.</div><d iv data-ng -if=\"diag nosisnotad ded\" clas s=\"alert  alert-dang er\" role= \"\" data- error-aria -alert>{{d iagnosnota dded}} Dia gnosis not  added. Ei ther it is  already i n the list  of diagno ses or you  have reac hed 7 diag noses.</di v></div><d iv class=\ "bs-callou t bs-callo ut-default \" aria-la belledby=\ "PNCSectio n\"><h3 id =\"PNCSect ion\">Pict ure and Co mments</h3 ><div aria -hidden=\" true\" cla ss=\"form- group\"><d iv class=\ "col-sm-2  col-xs-1\" ></div><di v class=\" col-sm-6 c ol-xs-8\"> </div><div  class=\"c ol-sm-1 co l-xs-2\">< b>Share?</ b></div></ div><div c lass=\"for m-group\"> <div aria- hidden=\"t rue\" clas s=\"col-sm -2\"><labe l for=\"av atar\" cla ss=\"contr ol-label\" >Picture</ label></di v><div cla ss=\"col-s m-6 col-xs -10\"><img  data-http -src=\"{{a vatarUrl}} \" data-ng -if=\"hasi mage\" id= \"avatar\"  alt=\"You r Uploaded  Picture\"  title=\"Y our Upload ed Picture \" height= \"80px\" w idth=\"80p x\" aria-h idden=\"tr ue\"><hr a ria-hidden =\"true\"> <div data- ng-if=\"im ageUploadF ailed\" cl ass=\"aler t alert-da nger\" rol e=\"\" dat a-error-ar ia-alert>F ile must b e an image  and less  than 5MB i n size.</d iv><span i d=\"fileIn putSpan\"  role=\"but ton\" data -styled-fi le class=\ "btn btn-d efault btn -file\" da ta-ng-show =\"!upload edImage\"  aria-label ledby=\"PN CSection f ileInputSp an\" tabin dex=\"-1\" >Select a  file... <i nput data- return-foc us data-fi le-upload- callback=\ "uploadIma ge\" type= \"file\" i d=\"filein put\" name =\"fileinp ut\" title =\"Select  a file to  upload\" a ccept=\"im age/*\" ar ia-hidden= \"true\">< /span><tab le id=\"up loadedImag eTable\" c lass=\"tab le\" data- ng-show=\" uploadedIm age\" summ ary=\"Uplo aded pictu re files\"  role=\"pr esentation \"><thead  aria-hidde n=\"true\" ><tr><th s cope=\"col \">File Se lected</th ><th scope =\"col\">S ize</th><t h scope=\" col\">Acti ons</th></ tr></thead ><tbody><t r><td clas s=\"break- word\"><st rong aria- hidden=\"t rue\" id=\ "uploadedI mageName\" >{{ upload edImage.na me }}</str ong><div a ria-hidden =\"true\"> <span id=\ "imgPrevie wLabel\">I mage to be  uploaded: </span></d iv><img cl ass=\"imag eArea\" ng -src=\"{{u ploadedIma ge.imageSr c}}\" titl e=\"Image  to be uplo aded\" alt =\"Image t o be uploa ded\" aria -hidden=\" true\"></t d><td clas s=\"break- word\" dat a-nowrap a ria-hidden =\"true\"> {{ uploade dImage.siz e/1024/102 4|number:2  }} MB</td ><td data- nowrap><bu tton id=\" removeUplo adedImageB utton\" ty pe=\"butto n\" class= \"btn btn- danger btn -xs\" data -ng-click= \"removeUp loadedImag e()\" titl e=\"Remove  queued fi le\" aria- labelledby =\"PNCSect ion imgPre viewLabel  uploadedIm ageName re moveUpload edImageBut ton\"><spa n class=\" glyphicon  glyphicon- trash\" ar ia-hidden= \"true\">< /span> Rem ove <span  class=\"sr -only\">qu eued file< /span></bu tton></td> </tr></tbo dy></table ></div><di v class=\" col-sm-1 c ol-xs-2 te xt-center\ "><label i d=\"shareP ictureLabe l\" aria-h idden=\"tr ue\" for=\ "pavatar\"  class=\"s r-only\">S hare your  picture</l abel><inpu t type=\"c heckbox\"  value=\"No ne\" title =\"Share P icture\" d ata-ng-dis abled=\"!h asimage &&  !uploaded Image\" ar ia-hidden= \"{{!hasim age && !up loadedImag e}}\" data -ng-model= \"private. avatar\" i d=\"pavata r\" name=\ "pavatar\"  aria-labe lledby=\"P NCSection  sharePictu reLabel\"> </div></di v><div cla ss=\"form- group\"><d iv class=\ "col-sm-2  col-xs-12\ " aria-hid den=\"{{!i sAndroid | | (isAndro id && !com ments)}}\" ><label id =\"comment sLabel\" f or=\"comme nts\" clas s=\"contro l-label\"> <span clas s=\"sr-onl y-label\"  aria-hidde n=\"{{!isA ndroid ||  (isAndroid  && !comme nts)}}\">P icture and  Comments,  Comments,  {{ profil eCommentsC haracterCo unt }} cha racter{{pr ofileComme ntsCharact erCount != = 1 ? \"s\ " : \"\"}}  remaining  </span><s pan aria-h idden=\"{{ isAndroid  && !!comme nts}}\">Co mments</sp an></label ></div><di v class=\" col-sm-6 c ol-xs-10\" ><textarea  data-retu rn-focus c lass=\"for m-control\ " data-row s=\"3\" id =\"comment s\" data-c ustom-maxl ength maxl ength=\"25 0\" data-c haracter-c ount=\"pro fileCommen tsCharacte rCount\" c ols=\"60\"  rows=\"5\ " wrap=\"s oft\" plac eholder=\" Enter Comm ents\" dat a-ng-model =\"comment s\" data-n g-trim=\"f alse\" dat a-ng-chang e=\"privat e.comments  = private .comments  && comment s !== ''\"  aria-labe lledby=\"P NCSection  commentsLa bel charac terCountLb l\"></text area><div  id=\"chara cterCountL bl\" class =\"control -label\">{ { profileC ommentsCha racterCoun t }} chara cter{{prof ileComment sCharacter Count !==  1 ? \"s\"  : \"\"}} r emaining</ div></div> <div class =\"col-sm- 1 col-xs-2  text-cent er\"><labe l id=\"sha reComments Label\" ar ia-hidden= \"true\" f or=\"pcomm ents\" cla ss=\"sr-on ly\">Share  your comm ents</labe l><input t ype=\"chec kbox\" val ue=\"None\ " title=\" Share Comm ents\" dat a-ng-model =\"private .comments\ " id=\"pco mments\" n ame=\"pcom ments\" da ta-ng-disa bled=\"com ments==''  || comment s==null ||  profile.c omments.$i nvalid\" a ria-hidden =\"{{comme nts=='' ||  comments= =null || p rofile.com ments.$inv alid}}\" a ria-labell edby=\"PNC Section sh areComment sLabel\">< /div></div ></div><hr  aria-hidd en=\"true\ "><div cla ss=\"bs-ca llout bs-c allout-def ault\"><di v class=\" form-group \"><div cl ass=\"col- xs-10 col- sm-8\"><h3  id=\"GPSe ction\">Go  Private</ h3><p>Go P rivate mea ns only yo ur screen  name will  be availab le to othe rs.</p></d iv><div cl ass=\"col- xs-2 col-s m-1 text-c enter\"><i nput type= \"checkbox \" value=\ "None\" id =\"private Button\" n ame=\"priv ateButton\ " title=\" Go Private \" data-ng -model=\"g oprivate\"  aria-labe lledby=\"G PSection\" ></div></d iv></div>< div class= \"col-sm-1 2 col-xs-1 2\"><butto n type=\"b utton\" cl ass=\"btn  btn-defaul t\" value= \"Save but ton\" data -ng-click= \"clickSav e($event)\ " data-ng- disabled=\ "profile.$ invalid\"  aria-hidde n=\"{{prof ile.$inval id}}\" id= \"saveButt on\" data- return-foc us aria-la belledby=\ "myProfile Label save Button\">S ave</butto n> <button  type=\"bu tton\" cla ss=\"btn b tn-default \" data-ng -click=\"c ancelActio n()\" valu e=\"Cancel  button\"  id=\"clear Button\" d ata-return -focus ari a-labelled by=\"myPro fileLabel  clearButto n\">Cancel </button>< /div></for m></div>"
  142     );
  143  
  144  
  145     $templat eCache.put ('componen ts/pages/g roup/group _details_t emplate.ht ml',
  146       "<div  class=\"co ntainer\"  role=\"mai n\"><div c lass=\"wel l\"><div c lass=\"row \"><div id =\"members \" class=\ "col-xs-10 \"><strong >Current M embers:</s trong> {{c urrentGrou p.memberCo unt}}</div ><div data -ng-if=\"i singroup\"  class=\"c ol-xs-2 te xt-right\" ><a data-r eturn-focu s role=\"b utton\" hr ef=\"#\" i d=\"openPo pupLink\"  title=\"Vi ew Group P urpose\" t abindex=\" 100\" acce sskey=\"p\ " aria-lab el=\"View  Group Purp ose\" data -ng-click= \"opengrou pdetails($ event)\">< i class=\" glyphicon  glyphicon- info-sign\ " aria-hid den=\"true \" id=\"ic ninfo\"></ i></a></di v></div><d iv tabinde x=\"100\"  id=\"purpo se\" class =\"details  bg_defaul t break-wo rd\" data- ng-if=\"!i singroup\" ><strong>P urpose: </ strong>{{  currentGro up.purpose  }}</div>< button dat a-return-f ocus id=\" postcommen t\" type=\ "button\"  class=\"bt n btn-defa ult\" valu e=\"Post C omment\" d ata-ng-cli ck=\"openP ostComment ($event)\"  tabindex= \"100\" da ta-ng-if=\ "isingroup \">Comment </button>  <button da ta-ng-if=\ "isingroup \" data-re turn-focus  id=\"exit button\" t ype=\"butt on\" class =\"btn btn -default\"  value=\"E xit Group\ " data-ui- sref=\"mai n.groups\"  tabindex= \"100\" ac cesskey=\" x\">Close< /button> < button dat a-ng-if=\" !isingroup \" data-re turn-focus  id=\"exit button\" t ype=\"butt on\" class =\"btn btn -default\"  value=\"E xit Group\ " data-ui- sref=\"mai n.groups({ focus: cur rentGroup. name})\" t abindex=\" 100\" acce sskey=\"x\ ">Close</b utton></di v><div cla ss=\"well  posts\" da ta-ng-if=\ "isingroup \"><h3 dat a-ng-if=\" posts.leng th > 0\" i d=\"groupp osts\" tab index=\"10 0\">{{post s.length}}  Comment{{ posts.leng th === 1 ?  \"\" : \" s\"}}</h3> <div data- ng-if=\"po sts.length  === 0\" c lass=\"tex t-center\" ><img clas s=\"groupc ommentimag e\" src=\" assets/img /img-group -comment.p ng\" alt=\ "\" aria-h idden=\"tr ue\"><div  tabindex=\ "100\" cla ss=\"text- center lea d\">Click  Comment to  start the  conversat ion.</div> </div><div  tabindex= \"100\" cl ass=\"well \" data-ng -repeat=\" post in po sts\"><div  class=\"r ow\"><div  class=\"co l-xs-6 bre ak-word\"> {{post.use rName}}</d iv><div cl ass=\"col- xs-6 text- right\">{{  formatDat eTime(post .createdDa te) }}</di v></div><h r><blockqu ote class= \"break-wo rd\">{{pos t.text}}</ blockquote ></div></d iv></div>"
  147     );
  148  
  149  
  150     $templat eCache.put ('componen ts/pages/g roup/group s_template .html',
  151       "<div  class=\"co ntainer\"  role=\"mai n\"><div c lass=\"row \"><div cl ass=\"has- margin-bel ow-10 col- sm-12\"><d iv data-my -profile>< /div></div ></div><di v data-uib -tabset da ta-active= \"tabs.act iveTabInde x\" data-t emplate-ur l=\"assets /templates /uib-tabse t-template .html\"><d iv data-ui b-tab data -heading=\ "My Groups \" id=\"my -groups\"  data-selec t=\"active Group(0)\"  data-temp late-url=\ "assets/te mplates/ui b-groups-t ab-templat e.html\" d ata-index= \"0\"><div  id=\"grou psTabPanel 0\" class= \"tab-box\ " role=\"t abpanel\"  aria-label ledby=\"gr oupsTab0\" ><p id=\"n ogroupsmes sage\" cla ss=\"alert  alert-inf o\" data-n g-if=\"myG roups.leng th === 0\"  role=\"he ading\" ta bindex=\"0 \">This sc reen will  contain a  listing of  the group s you have  joined, i ncluding a ll recent  activity f or each gr oup. You a re current ly not fol lowing any  groups. T o join a g roup, plea se select  the Join G roups tab  to see a l ist of exi sting grou ps and beg in searchi ng.</p><di v class=\" list-group \" data-ng -if=\"myGr oups.lengt h > 0\" id =\"mygroup slist\"><s pan class= \"has-full -padding-1 0\" aria-h idden=\"tr ue\">(#) -  Number of  comments  per group< /span><div  class=\"a ctual-grou p-list\">< div data-n g-repeat=\ "group in  myGroups\"  class=\"c ol-xs-12 i tem\"><a d ata-return -focus id= \"group-my -{{$index} }\" data-u i-sref=\"m ain.groupd etail\" da ta-ng-clic k=\"select Group($eve nt, group,  $index)\"  class=\"c ol-xs-8 co l-sm-10 co l-lg-11 bt n btn-defa ult text-l eft break- word\" tit le=\"Click  to learn  about this  Group\" r ole=\"butt on\">{{gro up.name}}  ({{group.p ostCount}} ) <span cl ass=\"sr-o nly\">, Re cent Post{ {group.pos tCount ===  1 ? \"\"  : \"s\"}},  Click to  learn abou t this Gro up</span>< /a><div cl ass=\"col- xs-4 col-s m-2 col-lg -1 group-b utton\"><b utton data -return-fo cus id=\"l eavebutton -{{$index} }\" type=\ "button\"  class=\"bt n btn-defa ult col-xs -12\" valu e=\"Unjoin  group\" d ata-ng-cli ck=\"leave Group($eve nt, group,  $index)\" >Unjoin <s pan class= \"sr-only\ ">&nbsp;{{ group.name }} Group,  Click to u njoin this  Group</sp an></butto n></div></ div></div> </div></di v></div><d iv data-ui b-tab data -heading=\ "Join Grou ps\" id=\" join-group s\" data-s elect=\"ac tiveGroup( 1)\" data- template-u rl=\"asset s/template s/uib-grou ps-tab-tem plate.html \" data-in dex=\"1\"> <div id=\" groupsTabP anel1\" cl ass=\"tab- box\" role =\"tabpane l\" aria-l abelledby= \"groupsTa b1\"><h3 i d=\"groupS earchLabel \">Search  List</h3>< input aria -autocompl ete=\"list \" aria-la belledby=\ "groupSear chLabel\"  data-retur n-focus id =\"searchG roupsFilte r\" class= \"form-con trol\" pla ceholder=\ "Enter a g roup name  to filter  the list\"  type=\"te xt\" data- ng-model=\ "filter.se archGroups \"><hr ari a-hidden=\ "true\"><d iv class=\ "list-grou p col-xs-1 2\" data-n g-if=\"joi nGroups.le ngth > 0\"  id=\"join groupslist \"><div cl ass=\"actu al-group-l ist col-xs -12\"><div  data-ng-r epeat=\"gr oup in joi nGroups |  group_grou ps_control ler_filter :filter.se archGroups \" class=\ "col-xs-12  item\"><a  data-retu rn-focus i d=\"group- join-{{$in dex}}\" da ta-ui-sref =\"main.gr oupdetail\ " data-ng- click=\"se lectGroup( $event, gr oup, $inde x)\" title =\"Click t o learn ab out this G roup\" cla ss=\"col-x s-8 col-sm -10 col-lg -11 btn bt n-default  text-left  break-word \" role=\" button\">{ {group.nam e}} <span  class=\"sr -only\">,  Click to l earn about  this Grou p</span></ a><div cla ss=\"col-x s-4 col-sm -2 col-lg- 1 group-bu tton\"><bu tton data- return-foc us id=\"jo inbutton-{ {$index}}\ " type=\"b utton\" cl ass=\"btn  btn-defaul t col-xs-1 2\" value= \"Join Gro up\" data- ng-click=\ "joinGroup ($event, g roup)\">Jo in <span c lass=\"sr- only\">&nb sp;{{group .name}} Gr oup, Click  to join t his Group< /span></bu tton></div ></div></d iv></div>< div class= \"col-xs-1 2\"><div c lass=\"col -xs-12 tex t-center\" ><button d ata-return -focus id= \"creategr oupbutton\ " type=\"b utton\" cl ass=\"btn  btn-defaul t has-marg in-below-1 0\" value= \"Create G roup\" dat a-ng-click =\"openCre ateGroup($ event)\">< i class=\" glyphicon  glyphicon- plus\" ari a-hidden=\ "true\"></ i> Create  New Group  <span clas s=\"sr-onl y\">Click  to create  a new Grou p</span></ button></d iv></div>< /div></div ></div></d iv>"
  152     );
  153  
  154  
  155     $templat eCache.put ('componen ts/pages/h elp/usergu ide_templa te.html',
  156         "<div role =\"main\"  class=\"co ntainer\"> <div tabin dex=\"0\"> <h2 tabind ex=\"0\">V eteran Lin k App</h2> <p tabinde x=\"0\">Fo r those in dividuals  eligible f or a Premi um (level  2) DS Logo n account  receiving  healthcare  from the  Veterans A dministrat ion (VA) o r the Depa rtment of  Defense (D oD), this  app provid es the abi lity to fi nd and con verse, via  email, wi th other V eterans wh o have com mon intere sts as wel l as join  groups of  Veterans t o discuss  a specific  topic..</ p><h3 tabi ndex=\"0\" >To use th is App</h3 ><p tabind ex=\"0\">T his app re quires a P remium (Le vel 2) DS  Logon acco unt to use  so that a ccess can  be control led. You c an go here  ((<a tabi ndex=\"0\"  id=\"dslo gonurl\" h ref=\"http s:// DNS . URL /eauth/DSL ogon.asp\" > DNS . URL /eauth/DSL ogon.asp</ a>)) to fi nd more in formation  out about  DS Logon.  You must a lso comple te a Right  of Access  (ROA) for m and agre e to the E nd User Li cense Agre ement(EULA ). You onl y need to  sign one R OA form to  use any V A mobile a pplication . The ROA  allows the  VA to hav e access t o your dat a. There i s a separa te EULA fo r every ap p and for  web apps y ou will ne ed to agre e to the E ULA for ea ch device  and intern et browser  combinati on. If you  need to c omplete ei ther of th ese docume nts they w ill be pre sented to  you.</p><h 3 tabindex =\"0\">Nav igation</h 3><p tabin dex=\"0\"> The first  time you o pen the ap p, after l ogging in,  you will  see a welc ome page w ith the op tion to cr eate a pro file. In o rder to us e the Vete ran Link a pp, you mu st create  a profile.  Once you  have creat ed a profi le, you wi ll be dire cted to th e My Group s page whe re you wil l see a li st of the  groups you  have join ed and hav e an optio n to join  other exis ting group s.</p><p t abindex=\" 0\">The le ft menu ic on will di splay the  buttons to  select af ter establ ishing the  Profile:  Edit My Pr ofile (edi t profile) , Search(S earch for  Veterans),  Groups, a nd Persona l List scr eens. The  right menu  has butto ns to sele ct the Abo ut screen,  Help, Lau nchpad, an d to Logou t. If you  tap a butt on on the  menu you w ill open t hat item.< /p><h3 tab index=\"0\ ">Create P rofile</h3 ><p tabind ex=\"0\">O nce you ha ve logged  into the a pplication  for the f irst time,  you will  be able to  create a  profile. T he profile  contains  one requir ed item an d multiple  optional  items you  can enter.  The only  required i tem is the  Screen Na me. You ma y choose t o enter an y or all o f the othe r profile  items. The  more item s you ente r and shar e, the eas ier it wil l be for a nother Vet eran to fi nd you whe n searchin g.</p><h3  tabindex=\ "0\">Defin itions</h3 ><ul role= \"list\">< li role=\" listitem\"  tabindex= \"0\">Scre en Name â€ “ The scre en name is  the only  required f ield in th e profile.  It can be  up to 20  characters  (letters,  numbers,  and/or spe cial chara cters ) th at you wan t to use a s an ident ifier in t he applica tion. Scre en name is  always sh ared and s earchable  by others.  The scree n name sho uld be som ething tha t does not  identify  you direct ly. For ex ample, you  would not  want to p ut your na me as the  screen nam e (Joe Smi th), but m ight use a  nickname  or other t erm (Smitt y, Smitty2 , Mighty J oe, Army g uy). Each  screen nam e is uniqu e, so if y ou choose  one that i s already  in use, se lect anoth er name or  add to th e existing  name to m ake it uni que. For e xample, if  gunner is  used, try  gunner100 .</li><li  role=\"lis titem\" ta bindex=\"0 \">Persona l Informat ion All th e fields a re optiona l. Validat ion rules  are trigge red if the  first nam e is less  than 1 cha racter and  last name  is less t han 2 char acters. Da te of Birt h can be s elected fr om Date pi cker or th e user can  input the  date fiel d. It won' t allow fu ture dates  and can't  go back m ore than 1 00 years f rom today.  Affiliati on, Status  and Milit ary Rank a re drop do wn list wh ere users  can select  the optio n from the  list.</li ><li role= \"listitem \" tabinde x=\"0\">Re sidence â€ “ Residenc e informat ion for th e veteran.  All the f ields are  optional.  By default  country c ode is emp ty when yo u are crea ting profi le. State,  City, Zip  code, hom e and cell  phone num bers are d isabled if  country i s not sele cted. Rule s are diff erent when  selecting  country ( United Sta tes vs oth er countri es). When  US is sele cted, Stat e has drop  down list  of US sta tes, City  is a free  text field , Zipcode  has valida tion rules  which req uire at le ast 5 digi ts. Home a nd Cell ph one number  must have  10 digits  unless us er left it  empty. Fo r non US c ountries,  State, Cit y, Phone n umbers are  free text  fields. Z ip code la bel is cha nged to Po stal code,  which can  take Alph anumeric,  hyphens, s lashes and  space and  a max of  24 charact ers. Phone  numbers m ust be bet ween 8 to  18 digits  including  county cod e unless u ser left i t empty.</ li><li rol e=\"listit em\" tabin dex=\"0\"> Diagnosis  – You ca n enter up  to seven  diagnoses.  You may c hoose from  an availa ble list o r enter on e that is  not on the  sample li st. Each d iagnosis i s sharable  individua lly, which  will allo w other Ve terans to  find you b y a specif ic diagnos is. The di agnosis wi ll not be  shown/disp layed to a nyone exce pt you, bu t will be  searchable  by other  Veterans i f you shar e that spe cific diag nosis.</li ><li role= \"listitem \" tabinde x=\"0\">Im age â€“ Yo u can uplo ad an imag e of yours elf to hel p others r ecognize y ou if you  choose to  share it.  The image  can be up  to 5 megab ytes and c an be in t he followi ng formats : jpeg, jp g, gif, or  png).</li ><li role= \"listitem \" tabinde x=\"0\">Go  Private â €“ Selecti ng the go  private op tion will  allow you  to be anon ymous with  the excep tion of yo ur screen  name. It w ill not sh are any of  the items  you selec ted to sha re. This m eans other  Veterans  will only  be able to  search fo r you by y our screen  name.</li ></ul><p t abindex=\" 0\">You ca n select S ave or Can cel button .<ul><li r ole=\"list item\" tab index=\"0\ ">Selectin g Save but ton will p rompt a co nfirmation  dialog fo r the Vete ran to sel ect Yes or  No.</li>< li role=\" listitem\"  tabindex= \"0\">Sele cting Yes  will save  the profil e, an aler t window w ill pop up  for 2 sec onds to in dicate the  operation  completed  successfu lly.</li>< li role=\" listitem\"  tabindex= \"0\">Sele cting Canc el will gi ve warning  of unsave d changes  and option s to selec t Save, Re turn or Co ntinue.<ul ><li role= \"listitem \" tabinde x=\"0\">Sa ve - saves  the profi le.</li><l i role=\"l istitem\"  tabindex=\ "0\">Retur n - return s to the e dit screen .</li><li  role=\"lis titem\" ta bindex=\"0 \">Continu e - exit E dit profil e without  saving.</l i></ul></l i></ul></p ><h3 tabin dex=\"0\"> Edit My Pr ofile</h3> <p tabinde x=\"0\">Th e Edit My  Profile op tion allow s you to e dit your e xisting pr ofile. All  of the sa me rules t hat apply  to create  a profile  also apply  to editin g a profil e. Selecti ng a pictu re will re place an e xisting pi cture if t here is on e. Appropr iate Confi rmation di alog will  pop up bef ore you sa ve or leav e the page  without c hanges.</p ><h3 tabin dex=\"0\"> Search</h3 ><p tabind ex=\"0\">T he search  feature al lows you t o search f or other V eterans ba sed on the  informati on they ha ve entered  and share d in their  profiles.  Veteran c an choose  up to 5 di fferent se arch crite ria. The s ame search  criteria  cannot be  selected m ultiple ti mes except  for diagn osis. That  means if  you Select  First Nam e in one s earch crit eria, othe r 4 search  criteria  drop down  list First  Name is n ot availab le. But fo r diagnosi s you can  select mul tiple diag nosis. Sea rch will y ield resul ts only if  it satisf ies all th e criteria  specified  in the se arch.</p>< p tabindex =\"0\">Sea rch criter ia can be  a partial  match for  the search  pattern y ou are loo king for a nd it shou ld contain  at least  3 characte rs. For ex ample, if  you enter:  First Nam e: Joe; La st Name: S mi, and Af filiation:  Air Force , you will  see a lis t of all V eterans wh o complete d and shar ed those f ields, e.g . Veterans  named Joe  and last  name conta ins Smi wh o are affi liated wit h the Air  Force. If  the search  criteria  value is l ess than 3  character s, it won' t be the p art of the  query whi ch retriev e the sear ch results . The sear ch results  will retu rn the scr een name,  first name , last nam e, affilia tion, and  image for  each Veter an who mat ched your  search cri teria. The  first nam e, last na me, affili ation, and  image fie lds will b e populate d if the V eteran cho se to prov ide them a nd make th em searcha ble. The s creen name  field wil l always b e populate d. Selecti ng Done wi ll return  you to the  initial s earch scre en where y ou can sta rt a new s earch or m odify the  existing o ne.</p><p  tabindex=\ "0\">From  the displa yed list o f Veterans  who match ed your se arch crite ria, you c an select  the row co ntaining a n individu al you wou ld like to  know more  about. By  clicking  on the row , a displa y of detai led profil e informat ion will b e displaye d. In addi tion to th e Veteranâ €™s screen  name, all  of the fi elds they  have enter ed and sha red in the ir profile  will be d isplayed,  with the e xception o f diagnose s, which i s never di splayed.</ p><p tabin dex=\"0\"> You can se lect the C ancel butt on to clos e the deta iled view  and return  to the li st of sear ch results , or you c an select  the Add to  Personal  List butto n to add t his person  to your P ersonal Li st, so you  can easil y find the ir profile  again in  the future .</p><h3 t abindex=\" 0\">Groups </h3><p ta bindex=\"0 \">The Gro ups functi on will al low you to  search fo r existing  groups, j oin groups , add comm ents and r ead commen ts from gr oups you h ave joined , and crea te groups.  From the  Groups pag e, you wil l also hav e an optio n to view  your share d profile,  so that y ou can see  how your  profile wi ll look to  other Vet erans.</p> <p tabinde x=\"0\">On ce you hav e created  a profile,  you will  be directe d to the G roups page . The grou ps page de faults to  the My Gro ups view.  Here you w ill see a  list of th e groups y ou have jo ined along  with the  count of c omments ma de in that  group in  the last 3 0 days, an d the tota l comments  in the la st 30 days  from all  of the gro ups you ha ve joined. </p><p tab index=\"0\ ">To join  a group, s elect the  Join Group s tab. Sel ecting the  join grou ps tab wil l display  a list of  groups tha t are avai lable for  you to joi n. You can  filter th e list by  searching  based on t he title o f a group.  The resul ts will di splay all  groups tha t contain  the entere d text wit hin the ti tle. You c an then se lect a gro up from th e displaye d list to  find out m ore about  the group.  From the  Join Group s page, yo u will hav e the opti on to join  the group  by select ing the Jo in Group b utton. Onc e you join  a group,  it will no w appear o n your My  Groups lis t. You wil l be retur ned to the  My Groups  page and  the group  you just j oined will  be highli ghted. The re is an u njoin opti on on the  My Groups  page for e ach group  you have j oined. On  join or un join opera tion an al ert window  will popu p for 2 se conds upon  successfu l operatio n.</p><p t abindex=\" 0\">From t he Join Gr oups tab,  you will a lso have t he option  to create  a new grou p. Selecti ng the Cre ate New Gr oup button , will dis play a cre ate new gr oup dialog  where you  must ente r a group  name and g roup purpo se. The gr oup name w ill need t o be uniqu e. Once yo u save thi s informat ion, your  group is c reated and  you autom atically b ecome a me mber of th e group.An  alert win dow will p op up for  2 seconds  to indicat e the oper ation fini shed succe ssfully.</ p><p tabin dex=\"0\"> As a membe r of a gro up, you wi ll be able  to select  the group  from the  My Groups  page to re ad comment s from oth er members  and post  your comme nts to the  group. Th e comments  are displ ayed from  the last 3 0 days. Fr om this vi ew, you al so can cho ose the Un join optio n to unjoi n the grou p.</p><h3  tabindex=\ "0\">Perso nal List</ h3><p tabi ndex=\"0\" >After sea rching for  and findi ng another  Veteran,  you can ad d them to  your perso nal list.  After clic king on a  row from t he display ed list of  Veterans  who matche d your sea rch criter ia (see Se arch funct ion), a de tailed scr een is pro vided. Sel ecting the  Add to Pe rsonal Lis t button w ill add th is Veteran  to your p ersonal li st. Confir mation dia log is pre sented whi le adding  or removin g from Per sonal list . An alert  window wi ll pop up  for 2 seco nds to ind icate the  operation  finished s uccessfull y.</p><p t abindex=\" 0\">When y ou select  the Person al List op tion from  the App Na vigation M enu (Left  Menu), you  will see  a list of  Veterans y ou have ad ded to you r personal  list. Sel ecting one  of the ro ws in the  list will  display th eir detail ed profile  informati on. In add ition to t he Veteran ’s scree n name, al l of the f ields they  have ente red and sh ared in th eir profil e will be  displayed,  with the  exception  of diagnos es, which  is never d isplayed.< /p><p tabi ndex=\"0\" >Once a Ve teran is a dded to yo ur persona l list, th e Add to P ersonal Li st option  on the det ailed prof ile screen  of that V eteran wil l now say  Remove fro m List. Se lecting th is option  will remov e the Vete ran from y our person al list.</ p><h3 tabi ndex=\"0\" >Contact</ h3><p tabi ndex=\"0\" >On the de tailed pro file list  which is d isplayed w hen you se lect a row  containin g a Vetera n from you r personal  list or s earch resu lts, there  will be a n email ic on if the  Veteran ha s entered  and shared  their ema il address  in their  profile. I f the Vete ran has no t entered  and shared  the infor mation, th e icon wil l not be d isplayed.  When you s elect the  email icon , the nati ve email a pplication  will be l aunched wi th the Vet eran’s e mail addre ss.</p><h3  tabindex= \"0\">Laun chpad</h3> <p tabinde x=\"0\">Th is navigat ion button  will retu rn you to  the VA Lau nchpad. Th e Launchpa d is an ap p that has  VA apps a nd approve d links as sembled to  simplify  your use.  The Launch pad also d isplays ot her apps t hat you ma y not be a ware of th at VA is p roviding t o help imp rove your  health and  healthcar e.</p><h3  tabindex=\ "0\">Logou t</h3><p t abindex=\" 0\">This n avigation  button wil l end your  mobile au thenticati on session  for <stro ng>ALL</st rong> apps . Once you  logout yo u will nee d to login  again to  use any ap p and you  will no lo nger see a n indicato r that you  are logge d in at th e bottom r ight of th e app.</p> </div></di v>"
  157     );
  158  
  159  
  160     $templat eCache.put ('componen ts/pages/h ome_templa te.html',
  161       "<div  class=\"ju mbotron\"  role=\"mai n\"><h2 cl ass=\"text -center\"> Welcome to  Veteran L ink!!</h2> <p data-ng -if=\"!aut henticated \" class=\ "text-cent er\">Pleas e log in b elow to jo in the con versation  now! Or cl ick on the  About opt ion in the  menu in t he upper r ight to le arn more a bout the a pplication .</p><p da ta-ng-if=\ "authentic ated\" cla ss=\"text- center\">T o get star ted, click  on the Cr eate Profi le option  below. You 'll be abl e to enter  informati on about y ourself an d then cho ose what y ou wish to  share wit h others.  For more i nformation  about the  use of yo ur data fr om this ap plication,  select th e Profile  Informatio n link: <a  data-retu rn-focus i d=\"about- page\" hre f=\"#\" ti tle=\"Abou t the Prof ile\" data -bs-modal= \"'profile /profilein fo'\"><str ong>Profil e Informat ion</stron g></a></p> <p data-ng -if=\"!aut henticated \"><img cl ass=\"spla sh-screen\ " alt=\"Ve teran Link , learn, c onnect, sh are.\" src =\"assets/ img/splash -img.png\" ></p><div  class=\"te xt-center\ "><button  data-retur n-focus ty pe=\"butto n\" data-f ocus-me=\" true\" cla ss=\"btn b tn-default  btn-lg\"  data-ng-if =\"!authen ticated\"  id=\"dslog on-button\ " name=\"d slogon-but ton\" data -ng-click= \"login($e vent)\" va lue=\"Log  into the a pp\">Login </button>  <button da ta-return- focus type =\"button\ " data-foc us-me=\"tr ue\" data- ng-if=\"au thenticate d\" id=\"c reate-prof ile-button \" name=\" create-pro file-butto n\" class= \"btn btn- default bt n-lg\" dat a-ui-sref= \"main.acc ount/edit\ " value=\" Create a P rofile\">C reate Prof ile</butto n></div></ div>"
  162     );
  163  
  164  
  165     $templat eCache.put ('componen ts/pages/m ain_templa te.html',
  166       "<div  data-ui-vi ew=\"menu\ " role=\"n avigation\ "></div><d iv data-sn ap-content  class=\"m ain-conten t\" id=\"m ainregion\ " role=\"m ain\"><div  data-ui-v iew=\"head er\" role= \"banner\" ></div><di v data-scr oll-contai ner class= \"full-hei ght\" id=\ "main-cont ent-div\"  aria-hidde n=\"false\ "><div dat a-ui-view  class=\"sc roll-conta iner\"></d iv></div>< div data-u i-view=\"f ooter\" ro le=\"conte ntinfo\">< /div></div >"
  167     );
  168  
  169  
  170     $templat eCache.put ('componen ts/pages/p ersonallis t/personal list_templ ate.html',
  171       "<div  class=\"co ntainer\"  role=\"mai n\"><h2 cl ass=\"hdr- title\" id =\"persona lList\">Pe rsonal Lis t</h2><div  data-prof ile-list=\ "myPersona lList\" da ta-navigat e-to=\"mai n.personal list/detai l\"></div> </div>"
  172     );
  173  
  174  
  175     $templat eCache.put ('componen ts/pages/s earch/sear ch_templat e.html',
  176       "<div  class=\"co ntainer\"  role=\"mai n\"><div c lass=\"lea d\" role=\ "heading\" ><h2 class =\"hdr-tit le\" id=\" searchInfo \" tabinde x=\"100\"> Find Veter ans</h2></ div><p cla ss=\"alert -notice ha s-full-pad ding-10\"  tabindex=\ "100\">Ent er one or  more searc h criteria . Data sub mitted for  search fi eld must b e at least  3 charact ers and al lows parti al match i n search r esult.<br> When finis hed, click  the Searc h button.  Click Rese t to start  over.</p> <form name =\"search\ " id=\"sea rch\" clas s=\"form-h orizontal  well\" rol e=\"form\"  action=\" #\" method =\"post\"> <div class =\"form-gr oup\" data -ng-repeat =\"searchi tem in sea rchitems\"  data-ng-c ontroller= \"search_s earch_cont roller_sea rchitem\"> <hr data-n g-if=\"$in dex > 0\"> <div class =\"col-sm- 3 col-xs-1 2\"><selec t data-ret urn-focus  class=\"fo rm-control \" id=\"sc -{{$index} }\" name=\ "sc-{{$ind ex}}\" dat a-ng-model =\"searchi tem.field\ " data-ng- options=\" searchfiel d.text gro up by 'Sea rch Field'  for searc hfield in  searchCrit erias | fi lter:remov eSelectedS earchCrite ria($index )\" tabind ex=\"100\" ></select> <label for =\"sc-{{$i ndex}}\" c lass=\"sr- only\">Sel ect criter ia {{$inde x+1}} of { {searchite ms.length} }</label>< /div><div  class=\"co l-sm-8 col -xs-12 col -sm-offset -1\"><div  data-ng-sw itch=\"sea rchitem.fi eld.id\">< input data -ng-switch -when=\"un defined\"  type=\"tex t\" class= \"form-con trol\" id= \"sc-value -{{$index} }\" name=\ "sc-value- {{$index}} \" placeho lder=\"Ent er Search  Criteria\"  disabled  aria-disab led=\"true \" aria-hi dden=\"tru e\" tabind ex=\"-1\"> <select da ta-return- focus data -ng-switch -when=\"se rvice\" cl ass=\"form -control\"  id=\"sc-v alue-{{$in dex}}\" da ta-ng-name =\"sc-valu e-{{$index }}\" data- ng-model=\ "searchite m.value\"  data-ng-op tions=\"br anch.servi ceName as  branch.ser viceName g roup by 'A ffiliation ' for bran ch in bran ches\" tab index=\"10 0\" data-n g-init=\"s earchitem. value = br anches[0]. serviceNam e\" aria-l abel=\"{{s earchitem. field.text }} search  value {{$i ndex+1}} o f {{search items.leng th}}\"></s elect><sel ect data-r eturn-focu s data-ng- switch-whe n=\"status \" class=\ "form-cont rol\" id=\ "sc-value- {{$index}} \" name=\" sc-value-{ {$index}}\ " data-ng- model=\"se architem.v alue\" tab index=\"10 0\" data-n g-options= \"status.t ext as sta tus.text g roup by 'S tatus' for  status in  statuses\ " data-ng- init=\"sea rchitem.va lue = stat uses[0].te xt\" aria- label=\"{{ searchitem .field.tex t}} search  value {{$ index+1}}  of {{searc hitems.len gth}}\"></ select><se lect data- return-foc us data-ng -switch-wh en=\"resid enceAddres s.country\ " class=\" form-contr ol\" id=\" sc-value-{ {$index}}\ " name=\"s c-value-{{ $index}}\"  data-ng-m odel=\"sea rchitem.va lue\" tabi ndex=\"100 \" accessk ey=\"p\" d ata-ng-opt ions=\"cou ntry.name  as country .name grou p by 'Coun try' for c ountry in  countries\ " data-ng- init=\"sea rchitem.va lue = coun tries[0].n ame\" aria -label=\"{ {searchite m.field.te xt}} searc h value {{ $index+1}}  of {{sear chitems.le ngth}}\">< /select><i nput type= \"text\" c lass=\"for m-control\ " data-ret urn-focus  data-ng-sw itch-when= \"residenc eAddress.s tate\" cla ss=\"form- control\"  id=\"sc-va lue-{{$ind ex}}\" nam e=\"sc-val ue-{{$inde x}}\" data -ng-model= \"searchit em.value\"  tabindex= \"100\" ar ia-label=\ "{{searchi tem.field. text}} sea rch value  {{$index+1 }} of {{se architems. length}}\" > <input d ata-return -focus dat a-ng-switc h-when=\"r esidenceAd dress.zipC ode\" type =\"text\"  class=\"fo rm-control \" id=\"sc -value-{{$ index}}\"  name=\"sc- value-{{$i ndex}}\" d ata-ng-mod el=\"searc hitem.valu e\" tabind ex=\"100\"  data-numb er placeho lder=\"Ent er Zip or  Postal Cod e\" aria-l abel=\"{{s earchitem. field.text }} search  value {{$i ndex+1}} o f {{search items.leng th}}\"><di v data-ng- switch-whe n=\"dateOf Birth\"><d ate-contro l data-fie ld-id=\"sc -value-{{$ index}}\"  data-field -aria-labe l=\"{{sear chitem.fie ld.text}}  search val ue {{$inde x+1}} of { {searchite ms.length} }\" name=\ "sc-value- {{$index}} \" label=\ "Date of B irth\" dat a-hide-day =\"true\"  data-show- label=\"fa lse\" data -date-form at=\"MM/dd /yyyy\" da ta-ng-mode l=\"search item.value \" data-al low-invali d=\"true\"  data-futu re-allowed =\"false\"  data-allo wed-date-r ange=\"all owedDobRan ge\" data- calendar-t abindex=\" 100\"></da te-control ></div><di v data-ng- switch-whe n=\"diagno sis\" data -angucompl ete-alt id =\"sc-valu e-{{$index }}\" data- type=\"tex t\" data-p laceholder =\"Enter d iagnosis\"  data-paus e=\"100\"  data-input -changed=\ "selectDia gnosis\" d ata-select ed-object= \"selectDi agnosis\"  data-initi al-value=\ "''\" data -local-dat a=\"diagno ses\" data -search-fi elds=\"nam e\" data-t itle-field =\"name\"  data-minle ngth=\"3\"  data-inpu t-class=\" form-contr ol form-co ntrol-smal l\" data-o verride-su ggestions= \"true\" d ata-field- tabindex=\ "100\" acc esskey=\"u \" data-in put-name=\ "{{searchi tem.field. text}} sea rch value  {{$index+1 }} of {{se architems. length}}\"  data-text -no-result s=\"false\ " data-tem plate-url= \"assets/t emplates/a ngucomplet e-alt-temp late.html\ ">&nbsp;</ div><div d ata-ng-swi tch-when=\ "gender\"> <div class =\"col-sm- 6 col-xs-1 2\"><div c lass=\"inp ut-group\" ><span cla ss=\"input -group-add on\"><inpu t data-ret urn-focus  type=\"rad io\" title =\"female\ " data-ng- model=\"se architem.v alue\" val ue=\"FEMAL E\" id=\"s c-value-{{ $index}}-f emale\" ta bindex=\"1 00\" acces skey=\"h\" ></span><l abel for=\ "sc-value- {{$index}} -female\"  class=\"fo rm-control \"><span c lass=\"sr- only\">{{s earchitem. field.text }} search  value {{$i ndex+1}} o f {{search items.leng th}} - </s pan>Female </label></ div></div> <div class =\"col-sm- 6 col-xs-1 2\"><div c lass=\"inp ut-group\" ><span cla ss=\"input -group-add on\"><inpu t data-ret urn-focus  type=\"rad io\" title =\"male\"  data-ng-mo del=\"sear chitem.val ue\" value =\"MALE\"  id=\"sc-va lue-{{$ind ex}}-male\ " tabindex =\"100\">< /span><lab el for=\"s c-value-{{ $index}}-m ale\" clas s=\"form-c ontrol\">< span class =\"sr-only \">{{searc hitem.fiel d.text}} s earch valu e {{$index +1}} of {{ searchitem s.length}}  - </span> Male</labe l></div></ div></div> <select da ta-return- focus data -ng-switch -when=\"ra nk\" class =\"form-co ntrol\" id =\"sc-valu e-{{$index }}\" data- ng-model=\ "searchite m.value\"  data-ng-op tions=\"ra nk.title a s rank.tit le group b y 'Militar y Rank' fo r rank in  ranks\" ta bindex=\"1 00\" acces skey=\"l\"  data-ng-i nit=\"sear chitem.val ue = ranks [0].title\ " aria-lab el=\"{{sea rchitem.fi eld.text}}  search va lue {{$ind ex+1}} of  {{searchit ems.length }}\"></sel ect><input  data-retu rn-focus d ata-ng-swi tch-when=\ "homePhone \" type=\" text\" cla ss=\"form- control\"  id=\"sc-va lue-{{$ind ex}}\" nam e=\"sc-val ue-{{$inde x}}\" data -ng-model= \"searchit em.value\"  tabindex= \"100\" da ta-number  aria-label =\"{{searc hitem.fiel d.text}} s earch valu e {{$index +1}} of {{ searchitem s.length}} \"> <input  data-retu rn-focus d ata-ng-swi tch-when=\ "cellPhone \" type=\" text\" cla ss=\"form- control\"  id=\"sc-va lue-{{$ind ex}}\" nam e=\"sc-val ue-{{$inde x}}\" data -ng-model= \"searchit em.value\"  tabindex= \"100\" da ta-number  aria-label =\"{{searc hitem.fiel d.text}} s earch valu e {{$index +1}} of {{ searchitem s.length}} \"> <input  data-retu rn-focus d ata-ng-swi tch-defaul t type=\"t ext\" clas s=\"form-c ontrol\" i d=\"sc-val ue-{{$inde x}}\" name =\"sc-valu e-{{$index }}\" place holder=\"E nter Searc h Criteria \" data-ng -model=\"s earchitem. value\" da ta-custom- maxlength  maxlength= \"100\" ta bindex=\"1 00\" aria- label=\"{{ searchitem .field.tex t}} search  value {{$ index+1}}  of {{searc hitems.len gth}}\"></ div></div> </div><div  class=\"b tn-group\" ><button d ata-return -focus typ e=\"button \" data-ng -disabled= \"getcrite ria().leng th === 0\"  class=\"b tn btn-def ault\" dat a-ng-click =\"searchP rofiles($e vent)\" va lue=\"Sear ch button\ " tabindex =\"100\" a ccesskey=\ "s\" id=\" search-but ton\">Sear ch</button ></div><di v class=\" btn-group\ "><button  data-retur n-focus ty pe=\"butto n\" class= \"btn btn- default\"  data-ng-cl ick=\"rese tcriteria( $event)\"  value=\"Re set button \" tabinde x=\"100\"  accesskey= \"r\" id=\ "reset-but ton\">Rese t</button> </div></fo rm></div>"
  177     );
  178  
  179  
  180     $templat eCache.put ('componen ts/pages/s earch/sear chdetail_t emplate.ht ml',
  181       "<div  class=\"co ntainer\"  role=\"mai n\"><div c lass=\"lea d\"></div> <div class =\"bg-dang er has-ful l-padding- 10 has-mar gin-below- 10\" id=\" alertnote\ " tabindex =\"100\">R esults for  this Vete ran are li mited to t he Screen  Name and a ny other d ata the Ve teran has  agreed to  share.</di v><div cla ss=\"well\ "><div cla ss=\"col-s m-12\" tab index=\"10 0\"><div c lass=\"pan el panel-d efault\">< div class= \"panel-bo dy\"><div  class=\"co l-sm-2\">< div data-n g-if=\"sp. imageUrl = == undefin ed || !sp. imageUrl.s hared\"><d iv aria-hi dden=\"tru e\" class= \"glyphico n glyphico n-user lgi con\" id=\ "defaultav atar\" dat a-alt=\"De fault Pict ure\" titl e=\"Defaul t Picture\ "></div></ div><div d ata-ng-if= \"sp.image Url !== un defined &&  sp.imageU rl.shared\ "><!--src  does not g et parsed  by angular --> <img d ata-ng-src =\"{{image Base + sp. imageUrl.v alue}}\" i d=\"avatar \" alt=\"P icture\" t itle=\"Pic ture\" wid th=\"80px\ " height=\ "80px\"></ div></div> <div class =\"col-sm- 8\"><p><st rong>Scree n Name:</s trong> <sp an>{{sp.us erName}}</ span></p>< p data-ng- if=\"sp.fi rstName.sh ared\"><st rong>First  Name:</st rong> <spa n>{{sp.fir stName.val ue}}</span ></p><p da ta-ng-if=\ "sp.lastNa me.shared\ "><strong> Last Name: </strong>  <span>{{sp .lastName. value}}</s pan></p></ div></div> </div></di v><!-- /na me --><div  class=\"c ol-sm-12\"  tabindex= \"100\" da ta-ng-if=\ "sp.dateOf Birth.shar ed || sp.g ender.shar ed || sp.s tatus.shar ed || sp.r ank.shared  || sp.ser vice.share d || sp.re sidenceAdd ress.city. shared ||  sp.residen ceAddress. state.shar ed || sp.r esidenceAd dress.zipC ode.shared  || sp.res idenceAddr ess.countr y.shared | | sp.email .shared ||  sp.homePh one.shared  || sp.cel lPhone.sha red\"><div  class=\"a lert alert -warning\"  data-ng-i f=\"sp.dat eOfBirth.s hared || s p.gender.s hared || s p.status.s hared || s p.rank.sha red || sp. service.sh ared\"><p  data-ng-if =\"sp.date OfBirth.sh ared\"><st rong>DOB:< /strong> < span>{{sp. dateOfBirt h.value}}< /span></p> <p data-ng -if=\"sp.g ender.shar ed\"><stro ng>Gender< /strong> < span>{{sp. gender.val ue}}</span ></p><p da ta-ng-if=\ "sp.servic e.shared\" ><strong>A ffiliation :</strong>  <span>{{s p.service. value}}</s pan></p><p  data-ng-i f=\"sp.sta tus.shared \"><strong >Status:</ strong> <s pan>{{sp.s tatus.valu e}}</span> </p><p dat a-ng-if=\" sp.rank.sh ared\"><st rong>Milit ary Rank:< /strong> < span>{{sp. rank.value }}</span>< /p></div>< div class= \"alert al ert-warnin g\" data-n g-if=\"sp. residenceA ddress.cit y.shared | | sp.resid enceAddres s.state.sh ared || sp .residence Address.zi pCode.shar ed || sp.r esidenceAd dress.coun try.shared  || sp.ema il.shared  || sp.home Phone.shar ed || sp.c ellPhone.s hared\"><p  data-ng-i f=\"sp.res idenceAddr ess.city.s hared\"><s trong>City :</strong>  <span>{{s p.residenc eAddress.c ity.value} }</span></ p><p data- ng-if=\"sp .residence Address.st ate.shared \"><strong >State:</s trong> <sp an>{{sp.re sidenceAdd ress.state .value}}</ span></p>< p data-ng- if=\"sp.re sidenceAdd ress.zipCo de.shared\ "><strong> Zip Code:< /strong> < span>{{sp. residenceA ddress.zip Code.value }}</span>< /p><p data -ng-if=\"s p.residenc eAddress.c ountry.sha red\"><str ong>Countr y:</strong > <span>{{ sp.residen ceAddress. country.va lue}}</spa n></p><p d ata-ng-if= \"sp.email .shared\"> <strong>Em ail:</stro ng> <a hre f=\"mailto :{{sp.emai l.value}}\ " tabindex =\"100\" a ccesskey=\ "a\"><span  aria-hidd en=\"true\ ">{{sp.ema il.value}} </span><sp an class=\ "sr-only\" >Email thi s Veteran< /span></a> </p><p dat a-ng-if=\" sp.homePho ne.shared\ "><strong> Home Phone :</strong>  <a href=\ "tel:{{sp. homePhone. value}}\"  title=\"Ca ll this Ve teran's ho me phone\"  tabindex= \"100\" ac cesskey=\" b\"><span> {{sp.homeP hone.value }}</span>< /a></p><p  data-ng-if =\"sp.cell Phone.shar ed\"><stro ng>Mobile  Phone:</st rong> <a h ref=\"tel: {{sp.cellP hone.value }}\" title =\"Call th is Veteran  cell phon e\" tabind ex=\"100\"  accesskey =\"c\"><sp an>{{sp.ce llPhone.va lue}}</spa n></a></p> </div></di v><!-- /re sidence -- ><div data -ng-if=\"s p.comments .shared\"  class=\"co l-sm-12\"  tabindex=\ "100\"><di v class=\" alert aler t-warning  break-word \" data-ng -if=\"sp.c omments.sh ared\"><p> <strong>Co mments</st rong> <spa n>{{sp.com ments.valu e}}</span> </p></div> </div><!--  /comments  --><div d ata-ng-if= \"sp.email .shared\"  class=\"te xt-center\ "><a href= \"mailto:{ {sp.email. value}}\"  tabindex=\ "100\" acc esskey=\"a \"><i aria -hidden=\" true\" cla ss=\"glyph icon glyph icon-envel ope big-ic on\"></i>  <span clas s=\"sr-onl y\">Email  this Veter an</span>< /a></div>< div class= \"text-cen ter\"><a r ole=\"butt on\" data- ng-click=\ "addPerson ($event)\"  data-ng-i f=\"!inper sonallist\ " href=\"# \" id=\"ad dpersonall ist\" clas s=\"btn bt n-default\ " title=\" Add this V eteran to  my Persona l List\" t abindex=\" 100\">Add  to Persona l List</a>  <a role=\ "button\"  data-ng-cl ick=\"remo vePerson($ event)\" d ata-ng-if= \"inperson allist\" h ref=\"#\"  id=\"remov epersonall ist\" clas s=\"btn bt n-default\ " title=\" Remove thi s Veteran  from my Pe rsonal Lis t\" tabind ex=\"100\" >Remove fr om Persona l List</a>  <a data-r eturn-focu s class=\" btn btn-de fault\" id =\"cancel\ " data-ui- sref=\"{{g obackto}}\ " title=\" Cancel thi s selectio n\" tabind ex=\"100\" >{{gobackt o !== \"ma in.groups\ " ? \"Canc el\" : \"C lose\"}}</ a></div></ div><!-- / well --></ div>"
  182     );
  183  
  184  
  185     $templat eCache.put ('componen ts/pages/s earch/sear chlist_tem plate.html ',
  186       "<div  class=\"co ntainer\"  role=\"mai n\"><div d ata-profil e-list=\"c urrent\" d ata-naviga te-to=\"ma in.searchd etail\"></ div><a dat a-return-f ocus data- ui-sref=\" main.searc h\" class= \"btn btn- default\"  title=\"Re turn to th e Search s creen\" id =\"donebut ton\" tabi ndex=\"100 \" accessk ey=\"x\">D one</a></d iv>"
  187     );
  188  
  189  
  190     $templat eCache.put ('componen ts/connect ion/connec tion_error .html',
  191       "<div  class=\"co nnection-m odal-heade r alert-da nger\"><h4  class=\"c onnectionE rrorModalH eaderText\ " tabindex =\"200\">C onnection  Error</h4> </div><div  class=\"c onnection- modal-body \"><p tabi ndex=\"200 \">Your in ternet con nection ap pears to b e unavaila ble. Pleas e try agai n when you  regain co nnectivity .</p></div ><div clas s=\"connec tion-modal -footer\"> <button cl ass=\"btn  btn-warnin g\" data-n g-click=\" ok()\" tit le=\"OK\"  id=\"ok\"  tabindex=\ "200\" acc esskey=\"a \"><span a ria-hidden =\"true\"> OK</span>< /button></ div>"
  192     );
  193  
  194  
  195     $templat eCache.put ('componen ts/connect ion/server _error.htm l',
  196       "<div  class=\"co nnection-m odal-heade r alert-da nger\"><h4  class=\"c onnectionE rrorModalH eaderText\ " data-foc us-me=\"tr ue\" tabin dex=\"200\ ">Error</h 4></div><d iv class=\ "connectio n-modal-bo dy\"><p ta bindex=\"2 00\">The s ystem cann ot be reac hed. If th e server i s unavaila ble, you w ill be una ble to use  this appl ication. Y ou can clo se your br owser and  try again  later or t ry to reco nnect now. </p></div> <div class =\"connect ion-modal- footer\">< button cla ss=\"btn b tn-warning \" data-ng -click=\"r etry()\" t itle=\"Ret ry\" id=\" retry\" ta bindex=\"2 00\" acces skey=\"a\" ><span ari a-hidden=\ "true\">Re try</span> </button>< /div>"
  197     );
  198  
  199  
  200     $templat eCache.put ('componen ts/connect ion/sessio n_ended.ht ml',
  201       "<div  class=\"co nnection-m odal-heade r alert-da nger\"><h4  class=\"s essionModa lHeaderTex t\" tabind ex=\"200\"  data-focu s-me=\"tru e\">Login  Session En ded.</h4>< /div><div  class=\"co nnection-m odal-body\ "><p tabin dex=\"200\ "><span ng -if=\"isCo rdova == f alse\">Tap  <strong>L aunchpad</ strong> to  be taken  to the Lau nchpad. </ span>Tap < strong>Log in</strong > to log b ack into t he applica tion you w ere using. </p></div> <div class =\"connect ion-modal- footer\">< button ng- if=\"isCor dova == fa lse\" clas s=\"btn bt n-warning\ " data-ng- click=\"la unchpad()\ " title=\" Launchpad\ " id=\"lau nchpad\" r ole=\"butt on\" acces skey=\"a\" ><span ari a-hidden=\ "true\">La unchpad</s pan></butt on> <butto n class=\" btn btn-wa rning\" da ta-ng-clic k=\"login( )\" title= \"Login\"  id=\"login \" role=\" button\" a ccesskey=\ "b\"><span  aria-hidd en=\"true\ ">Login</s pan></butt on></div>"
  202     );
  203  
  204  
  205     $templat eCache.put ('componen ts/connect ion/timeou t_warning. html',
  206       "<div  class=\"co nnection-m odal-heade r alert-da nger\"><h4  class=\"s essionModa lHeaderTex t\">Your u ser sessio n will tim e out in { {modalInfo .value}} { {modalInfo .unit}}.</ h4></div>< div class= \"connecti on-modal-b ody\"><p>T o help ens ure protec t your inf ormation,  your User  session ti mes out af ter 15 min utes.</p>< p>If you a re activel y using yo ur mobile  apps, simp ly tap <st rong>Conti nue</stron g> to rese t the sess ion. You c an also ta p <strong> Logout</st rong> to l ogout of y our user s ession now .</p></div ><div clas s=\"connec tion-modal -footer\"> <button cl ass=\"btn  btn-warnin g\" data-n g-click=\" logout()\"  title=\"L ogout\" id =\"logout\ " role=\"b utton\" ac cesskey=\" a\"><span  aria-hidde n=\"true\" >Logout</s pan></butt on> <butto n class=\" btn btn-wa rning\" da ta-ng-clic k=\"contin ue()\" tit le=\"Conti nue\" id=\ "continue\ " role=\"b utton\" ac cesskey=\" b\"><span  aria-hidde n=\"true\" >Continue< /span></bu tton></div >"
  207     );
  208   }]);});