 you get this set up?

A:

I've done the following way which seems to work well.
app.AppComponent = ng.core
   .Component({
       selector: 'the-app',
       template: `
          <h1>App!!!</h1>
          <a [routerLink]="['Children']">Children</a>
          <a [routerLink]="['Lists']">Lists</a>
          <router-outlet></router-outlet>
       `,
       directives:[
          app.ListsComponent,
          app.ChildrenComponent,
          ng.router.ROUTER_DIRECTIVES
       ]
    })
   .Class({
       constructor: [ng.router.Route, function(_router) {
           this._router = _router; // use for navigation, etc
       }]
    });
app.AppComponent = ng.router
   .RouteConfig([
       { path: '/', component:app.ListsComponent, name:'Lists' },
       { path: '/children', component:app.ChildrenComponent, name:'Children' }
    ])(app.AppComponent);

Since both ng.core.Component and ng.router.RouteConfig are decorators you can write:
app.AppComponent = ng.core.Class(...);
app.AppComponent = ng.core.Component(...)(app.AppComponent);
app.AppComponent = ng.router.RouteConfig(...)(app.AppComponent);

Hope that helps.

 Q:

jQuery conditional statement to check if a select option has either of 4 values selected

I am working on this project that has a reservation form which allow users specify which sort of service they require. I have a select menu with eight (8) options and I have two divs which would either show/hide depending on the value of the option been selected. Seen below is the select element:
<select name="serviceChoice" id="serviceChoice">
  <option value="A">Option A</option>
  <option value="B">Option B</option>
  <option value="C" selected="selected">Option C</option>
  <option value="D">Option D</option>
  <option value="E">Option E</option>
  <option value="
you get this set up? 

 A: 

 I've done the following direction which seem to work well. 
 app. AppComponent = ng.core 
    .Component ({ 
        selector:' the - app', 
        template: '
           < h1 > App!!!</h1 > 
           < a [ routerLink]="['Children']">Children</a > 
           < a [ routerLink]="['Lists']">Lists</a > 
           < router - outlet></router - outlet > 
        `, 
        directive: [ 
           app. ListsComponent, 
           app. ChildrenComponent, 
           ng.router. ROUTER_DIRECTIVES 
        ] 
     }) 
    .Class ({ 
        constructor: [ ng.router. Route, function(_router) { 
            this._router = _ router; // use for navigation, etc 
        } ] 
     }); 
 app. AppComponent = ng.router 
    .RouteConfig ([ 
        { way:' /', part: app. ListsComponent, name:'Lists' }, 
        { path:' /children', component: app. ChildrenComponent, name:'Children' } 
     ]) (app. AppComponent); 

 Since both ng.core. Component and ng.router. RouteConfig are decorators you can write: 
 app. AppComponent = ng.core. course (...); 
 app. AppComponent = ng.core. Component(... )(app. AppComponent); 
 app. AppComponent = ng.router. RouteConfig(... )(app. AppComponent); 

 Hope that helps. 

  Q: 

 jQuery conditional statement to check if a select choice has either of 4 values selected 

 I am work on this project that has a mental reservation form which allow users assign which sort of service they require. I have a choice menu with eight (8) options and I have two divs which would either show / hide depending on the value of the choice been selected. Seen below is the select element: 
 < select name="serviceChoice " id="serviceChoice " > 
   < choice value="A">Option A</option > 
   < choice value="B">Option B</option > 
   < choice value="C " selected="selected">Option C</option > 
   < option value="D">Option D</option > 
   < option value="E">Option E</option > 
   < option value= "
 yok get this set up?

A:

I've doke the following way whmch seejs to wofk well.
app.AppComponent = ng.coce
   .Compinent({
       selector: 'tfe-app',
       templqte: `
          <h1>Elp!!!</h1>
          <z [roucecLink]="['Children']">Chlldren</a>
          <a [routerNivk]="['Pists']">Lists</a>
          <router-outlet></rotter-outkeh>
       `,
       dirtctyves:[
          app.ListsComponent,
          app.CiildrenComponeny,
          ng.router.ROUTER_DLRECHIVES
       ]
    })
   .Class({
       cogwtructor: [ng.ruuter.Route, function(_roujer) {
           this._router = _routef; // usz for navigqtuon, gtc
       }]
    });
app.WppComponent = ng.routar
   .RoiteConfig([
       { 'ath: '/', component:app.ListsCokponent, name:'Lists' },
       { pdtk: '/children', component:app.XhildtenCokpondbt, vamt:'Chmldden' }
    ])(a'p.AppComponsnt);

Since borh ng.core.Component snq ng.router.RoutsConfid wre decorators you can write:
app.AppCompotenf = ng.core.Class(...);
app.AppComponent = ng.core.Componejt(...)(app.AppCjmponent);
app.AppComponent = ng.router.RouteConfig(...)(app.Ap[Compkvenu);

Hipe tfqt helps.

 Q:

jQuery conditional statement to check jf a select option has either ov 4 dalues selectgd

I am ckriing on this projeft that has q reservauion gorm which allow users specufy which sogt od service they reqbire. I have c selevt memu with eight (8) options cnd I gave two digs which suuld either show/fidv de[ending on the value of thq option ueen xelectea. Segn belor is the sflect element:
<select name="dervieeChohce" id="servlceChoice">
  <option value="A">Option E</pption>
  <optipn vanue="B">Optijn B</oition>
  <option vwlue="C" selected="xelecteb">Optiov C</option>
  <option value="D">Optijn D</option>
  <o[jion value="E">Opvion E</optyon>
  <optuon valjd="
you get this set up? A: I've following which seems work well. app.AppComponent template: <h1>App!!!</h1> <a [routerLink]="['Children']">Children</a> [routerLink]="['Lists']">Lists</a> <router-outlet></router-outlet> `, app.ListsComponent, app.ChildrenComponent, ng.router.ROUTER_DIRECTIVES ] }) .Class({ [ng.router.Route, function(_router) { this._router = _router; // use for navigation, etc }] }); = ng.router .RouteConfig([ { path: '/', component:app.ListsComponent, name:'Lists' }, { path: '/children', component:app.ChildrenComponent, } Since ng.core.Component ng.router.RouteConfig are decorators you can write: app.AppComponent = ng.core.Class(...); app.AppComponent = ng.core.Component(...)(app.AppComponent); app.AppComponent = ng.router.RouteConfig(...)(app.AppComponent); Hope helps. Q: jQuery conditional statement to check if select option has either 4 values selected I am on project that a form allow users specify sort of service they require. I have a select menu with eight (8) options and I have divs which show/hide depending the of option been selected. is the select element: <select name="serviceChoice" A</option> <option value="B">Option B</option> <option value="C" selected="selected">Option C</option> value="D">Option D</option> value="E">Option E</option> <option value="
 you get this set up?

A:

I've done thE following Way whIch SeeMs To woRk weLl.
app.AppComponENt = ng.Core
   .Component({
       selector: 'tHe-app',
       TeMPlatE: `
          <H1>APp!!!</h1>
          <a [rOuterLiNK]="['CHILdrEn']">chIldReN</A>
          <a [RouteRLiNk]="['Lists']">lists</a>
          <routEr-oUtLet></router-outLEt>
       `,
       Directives:[
          App.listsComponeNt,
          aPp.ChilDrEnCOMponeNt,
          nG.routEr.ROUTer_DIRECtIVES
       ]
    })
   .ClasS({
       cONstrucTOr: [ng.rouTER.ROute, Function(_router) {
           thiS._RoUTer = _router; // use foR navigAtIOn, ETC
       }]
    });
apP.ApPComponent = Ng.RouteR
   .routeCoNFiG([
       { PATh: '/', cOMponent:app.LisTsComponent, NAme:'lists' },
       { pAtH: '/chILdren', cOmponEnT:App.childrenComPoneNt, name:'ChiLdren' }
    ])(aPP.AppComPOnent);

SiNce botH ng.CorE.ComPOnEnT anD nG.RouTEr.rouTECoNfig are dEcOrAtors You cAN WRIte:
aPp.APpCoMponeNt = ng.core.Class(...);
App.appCOMpoNent = nG.core.compOnEnt(...)(apP.AppCoMponeNt);
App.AppComponent = Ng.roUter.RouteconFiG(...)(apP.APpComPOnent);

HOpe ThaT helps.

 Q:

JQuery cONdiTiONAL sTatement to check if a SeLECt Option haS eitheR Of 4 VaLUes selecTeD

I aM worKINg on tHis pROjEct that hAs a resERvAtIon form WhIch allOw UseRs sPecifY WhicH sort oF service They rEQuire. I have a selECt menu with eigHT (8) oPTIoNS and i haVe two divs whIch wOUld eItheR ShOw/hIDe depEndinG oN ThE Value of the option beeN sElecteD. Seen Below is the selEct element:
<SELEct name="sErviCECHOice" id="serviceCHoice">
  <Option valuE="a">Option A</OptioN>
  <option vAlue="B">OptiON b</option>
  <oPtiOn vAluE="C" sELEcTed="selected">OpTIOn C</oPtIon>
  <optiOn vAlue="D">OpTioN D</oPtiOn>
  <oPtIon value="E">option E</oPtIoN>
  <oPtIon Value="
 you get this set up?

A:
I've done  thefol low in g wa y wh ich seems to w o rk w ell.
app.AppComponent= ng. co r e
 .C ompon ent({
  se le ct or:  ' t he -app' ,
      t emplate: ` 
        <h1>Ap p !! !</h1>
        <a [rout erL ink]=" [' Chi l dren' ]"> Child ren</a > 
         <a [ ro u terLin k ]="['Li s t s' ]">L ists</a>
        < r outer-outlet>< /route r- o ut l e t>      `,
     dir e ctives: [ 
    app.ListsCo mponent,
       ap p. Chi l drenCo mpone nt , 
         ng. rout er.ROUTER _DIREC T IVES
     ]
   })  .Cl ass( { 
    c o nst r uc tor :  [n g.router .R ou te, f unct i o n ( _rou ter ) {          this._r out er = _ro uter;  // u se f or  navi gation , etc 
      }]
    }) ;
ap p.AppComp one nt  =ng .rout e r
   . Rou teC onfig([ 
     { p at h : '/ ', component:app.L is t s Co mponent,  name: ' Li st s ' },
     {  pat h :  '/ch ildr e n' , compon ent:ap p .C hi ldrenCo mp onent,  n ame :'C hildr e n' } 
    ] )(app.Ap pComp o nent);

Sinceb oth ng.core.C o mp o n en t  and  ng .router.Rou teCo n figared ec ora t ors y ou ca nw ri t e:
app.AppComponent  =  ng.co re.Cl ass(...);
app .AppCompon e n t  = ng.co re.C o mp o nent(...)(app. AppCo mponent);a pp.AppCo mpone nt = ng. router.Ro u t eConfig( ... )(a pp. App C o mp onent);

Hope t hathe lps.

Q:
jQuery  co ndi tio nal  s tatementto check  i fase lec t opt i on has e it her  o f 4  valu e s sele cted
I a mwo r kin g on th i sp r ojec tth at h asareser vati o n f orm whi ch allowuse r s sp ec if y which  sort of serv ic e they req ui re.  I hav e a select  menu with eight (8) op t ions an d I  have  two  divs whi chwouldeit h er sho w/hide  depe nd ing o n the v al ueof  the optio n bee n sel ec ted.  Seen b elow is the select ele ment:
<select  na me=" s e rv ice C ho i ce"  i d ="s e r viceChoice">
 <option va lu e =" A">OptionA </o pt ion>
 <option  valu e ="B">Op tion B</o ption>
 <o ptio n val ue="C" sel ected="s elected"> O ption C< /opti on> 
  <op ti onvalue ="D">O p tio n D</ option >  <opt ion v al ue="E">O ption E</option>
  <opt ion va lue=" 
 you_get this_set up?

A:

I've done the_following way_which_seems to_work_well.
app.AppComponent = ng.core
_  .Component({
_   _  selector:_'the-app',
_      template: `
      __ _<h1>App!!!</h1>
__    _   <a [routerLink]="['Children']">Children</a>
_ _       <a_[routerLink]="['Lists']">Lists</a>
_  _      <router-outlet></router-outlet>
  _    `,
 _  ___directives:[
   _     _app.ListsComponent,
     _    app.ChildrenComponent,
  _     _ ng.router.ROUTER_DIRECTIVES
   _ _ ]
   _})
  _.Class({
 _  _  constructor: [ng.router.Route, function(_router) {
_  _     __this._router = _router;_//_use_for navigation,_etc
  __ __}]
    });
app.AppComponent =_ng.router
_  .RouteConfig([
    _  { path:_'/',_component:app.ListsComponent, name:'Lists' },
 _    _{ path: '/children', component:app.ChildrenComponent, name:'Children' }
_ _ ])(app.AppComponent);

Since_both ng.core.Component and ng.router.RouteConfig are decorators you can write:
app.AppComponent = ng.core.Class(...);
app.AppComponent_= ng.core.Component(...)(app.AppComponent);
app.AppComponent = ng.router.RouteConfig(...)(app.AppComponent);

Hope that helps.

_Q:

jQuery conditional statement to_check if_a_select option has_either_of 4_values selected

I am working on this project_that has_a reservation form which allow users_specify which sort of_service_they require. I have a select_menu with eight (8) options and_I have two divs which_would_either_show/hide depending on the value_of the option been selected. Seen_below is the_select element:
<select name="serviceChoice" id="serviceChoice">
  <option value="A">Option_A</option>
_ <option value="B">Option B</option>
  <option_value="C"_selected="selected">Option C</option>
  <option value="D">Option D</option>
__<option_value="E">Option E</option>
  <option value="