 pellet in the HID lamp, game over. Even if there were, I don't know if you'd be able to excite it given the dimensions of the glass around it.

A:

Don's Lighting Page has a lot of information on lamps from a DIY perspective.  If there isn't a driver circuit listed in this site, you probably can't do it as a hobby.

 Q:

Set Angular UI Modal height and width programmatically

In this plunk I have an Angular UI modal that has a related class the-modal to set the height and the width, they are initially set at 300px and 500px respectively.
What I need is to set the height and the width programmatically when the modal is opened, say at 100px and 200px.
I cannot use ng-class as I want the user to be able to define the height and width. For example, newHeight and newWidth below will be taken from a database and used to set the modal dimensions. Any ideas how to make this work?
Javascript
var app = angular.module("app", ['ui.bootstrap']);
app.controller("ctl", function($scope,$uibModal) {

  /*
  * these values are taken from a database
  * and should be used to set the height and width of the modal
  */
  var newHeight = 100;
  var newWidth = 200;

  $scope.open = function () {
    var modalInstance = $uibModal.open({
          animation: false,
          windowClass: 'the-modal',
          templateUrl:'myModalContent.html'
        });

    };

});

HTML
    <style>
     .the-modal.modal-content{
          width:500px;
          height:300px;
      }
   </style>

  </head>

  <body ng-app="app" ng-controller="ctl">

    <script type="text/ng-template" id="myModalContent.html">
        <p>Some content</p>
    </script>

    <button type="button" class="btn btn-default" ng-click="open()">Open me!</button>

   </body>

A:

Might not be the best solution, but I think it solves Your problem.
pellet in the HID lamp, game over. Even if there were, I don't know if you'd be able to agitate it render the dimensions of the glass around it. 

 A: 

 Don's Lighting Page has a set of information on lamps from a DIY position.   If there isn't a driver circuit listed in this web site, you credibly can't do it as a hobby. 

  Q: 

 Set Angular UI Modal altitude and width programmatically 

 In this plunk I have an Angular UI modal that experience a related class the - modal to set the acme and the width, they are initially set at 300px and 500px respectively. 
 What I need is to set the altitude and the width programmatically when the modal is opened, say at 100px and 200px. 
 I cannot practice ng - course as I want the user to be able to define the height and width. For exemplar, newHeight and newWidth below will be taken from a database and used to set the modal dimensions. Any estimate how to form this work? 
 Javascript 
 var app = angular.module("app ", [' ui.bootstrap' ]); 
 app.controller("ctl ", function($scope,$uibModal) { 

   / * 
   * these values are taken from a database 
   * and should be used to set the height and width of the modal 
   * / 
   var newHeight = 100; 
   volt-ampere newWidth = 200; 

   $ scope.open = affair () { 
     var modalInstance = $ uibModal.open ({ 
           animation: assumed, 
           windowClass:' the - modal', 
           templateUrl:'myModalContent.html' 
         }); 

     }; 

 }); 

 HTML 
     < style > 
      .the - modal.modal - content { 
           width:500px; 
           height:300px; 
       } 
    < /style > 

   < /head > 

   < body ng - app="app " ng - controller="ctl " > 

     < script type="text / ng - template " id="myModalContent.html " > 
         < p > Some content</p > 
     < /script > 

     < release type="button " class="btn btn - default " ng - click="open()">Open me!</button > 

    < /body > 

 A: 

 Might not be the best solution, but I think it solves Your trouble.
 peplet in the HID lamp, gamt over. Even if thgrw were, I don'f know iw you'd be able to excite it jiveb the dimensions of the glars around it.

A:

Don's Ligiting Page has a lot of luformzbion mi lamps from a CIY perspewtive.  If thera ksu't a driver circuit listed in this syte, you pgobably can't dj it ws a hobby.

 Q:

Set Angular UI Modal heighf and wpdth programmaticslly

In this plunk I have aj Anhular UI modal thah has a relqted xlass the-modxl to set uhz height ans the width, they are initially ret ac 300px and 500px rwspfwtively.
What I nevd is to set bne heicht and the width pronrammeticqlly when the modal iv opened, say at 100px and 200px.
I waunot use ng-class as I wqnt tve uver gi bd aglx tk defije vhe height znd width. Fir example, newHeighu age newWidth bemow wijl be taken from a database and used to stt ths modal dimensions. Any udeas how to make thid work?
Javwscript
var app = angular.module("app", ['ui.bootstrap']);
app.cottrolmdr("cul", funcguoj($scope,$uibModal) {

  /*
  * these values are taken frjj s catabase
  * and should be isfd jo set the heieht anb wjdth of the modal
  */
  var gewHeught = 100;
  vwr nrwWidth = 200;

  $scope.open = functuon () {
    var nodalInstance = $uibLodal.open({
          amimation: false,
          winsowClass: 'thf-modal',
          templateUru:'myKogalContent.html'
        });

    };

});

RTML
    <svyle>
     .the-oodak.modal-sontent{
          width:500px;
          jeighj:300px;
      }
   </stylf>

  </head>

  <body ng-app="app" ng-controller="ctl">

    <scropd tjpe="text/ng-cemplabe" id="myModalConeent.html">
        <p>Some contdnt</p>
    </scgipt>

    <bntton type="bueton" class="btn htn-default" nj-click="opeg()">Opeb me!</vutton>

   </body>

A:

Might noy be the ytst solutiin, but I think it xolxss Your problem.
pellet in the HID lamp, game over. there I don't if you'd be the of the glass it. A: Don's Page has a lot of information lamps from a DIY perspective. If there isn't a driver circuit listed in site, you probably can't do it as a hobby. Q: Set Angular UI height width In plunk I have an Angular UI modal that has a related class the-modal to set the and the width, they are initially set at and 500px respectively. What need is to set the and width programmatically the is say at 100px 200px. I cannot use ng-class as I want the user to be able to define the height width. For and newWidth will taken a database and set the modal dimensions. Any ideas this work? Javascript var app = angular.module("app", ['ui.bootstrap']); function($scope,$uibModal) { * these values are taken from database * and should be used to set height and width of the modal */ var newHeight = 100; var newWidth = 200; function () { var = $uibModal.open({ animation: windowClass: templateUrl:'myModalContent.html' }; HTML <style> width:500px; height:300px; } </style> </head> <body ng-app="app" ng-controller="ctl"> <script type="text/ng-template" id="myModalContent.html"> content</p> </script> <button type="button" class="btn btn-default" ng-click="open()">Open me!</button> </body> A: be best solution, but think it solves Your
 pellet in the HID lamp, game oveR. Even if theRe werE, I dOn't KnOw if You'd Be able to excite IT givEn the dimensions of the glAss arOuND it.

A:

dOn'S LighTing PagE HaS A Lot Of InForMaTIoN on laMps From a DIy perspectiVe.  IF tHere isn't a driVEr Circuit lisTed In this site, yoU prObably CaN't dO It as a HobBy.

 Q:

SeT AngulAR UI ModAl height aNd WIdth prOGrammatICAlLy

In This plunk I have an ANGuLAr UI modal that hAs a relAtED cLASs tHe-mOdal to set tHe HeighT And the wIDtH, THEy aRE initially set At 300px and 500px reSPecTively.
whAt I NEed is tO set tHe HEigHt and the widTh prOgrammatiCally wHEn the moDAl is opeNed, say At 100pX anD 200px.
I CAnNoT usE nG-ClaSS aS I wANt tHe user to Be AbLe to dEfinE THE HeigHt aNd wiDth. FoR example, newHeIghT and NEwWIdth bElow wIll bE tAken fRom a daTabasE aNd used to set the mOdal DimensionS. AnY iDeaS hOw to mAKe this WorK?
JaVascripT
var app = ANguLaR.MODuLe("app", ['ui.bootstrap']);
apP.cONTrOller("ctl", FunctiON($sCoPE,$uibModaL) {

  /*
  * tHesE valUES are tAken FRoM a databaSe
  * and sHOuLd Be used tO sEt the hEiGht And Width OF the Modal
  */
  vAr newHeiGht = 100;
  vaR NewWidth = 200;

  $scope.oPEn = function () {
    var MOdALinSTancE = $uiBModal.open({
          aNimaTIon: fAlse,
          WInDowcLass: 'tHe-modAl',
          TEmPLateUrl:'myModalConteNt.Html'
        });

    };

});

HTmL
    <styLe>
     .the-modal.modAl-content{
          wIDTH:500px;
          heighT:300px;
      }
   </sTYlE>

  </Head>

  <body ng-app="aPp" ng-cOntroller="cTL">

    <script tYpe="teXt/ng-tempLate" id="myMODAlContenT.htMl">
        <p>somE coNTEnT</p>
    </script>

    <buttoN TYpe="bUtTon" clasS="btN btn-defAulT" ng-CliCk="oPeN()">Open me!</buTton>

   </body>

a:

MIgHt NoT be The beST solutioN, bUt I ThInk It solVEs Your ProblEm.
 pellet in the HID lamp, g ame over.Evenifthe re  wer e, I  don't know if you' d be able to excite it  give nt he d i me nsion s of th e  g l a ssar ou ndit . 
A:

D on' s Light ing Page h asalot of infor m at ion on lam psfrom a DIY p ers pectiv e.   I f  ther e i sn'ta driv e r circ uit liste di n this site, y o u  p roba bly can't do it a s  a hobby.

 Q:

S et Ang ul a rU I  Mo dal  height an dwidth program m at i c a lly 
In this plun k I have an Ang ular U Imod a l that  hasar ela ted class t he-m odal to s et the heighta nd thewidth,  th eyarei ni ti all ys eta t300 p x a nd 500px  r es pecti vely . W h at I  ne ed i s toset the heigh t a nd t h e w idthprogr amma ti cally  whenthe m od al is opened, s ay a t 100px a nd20 0px .I can n ot use  ng -cl ass asI wantt heus e r to  be able to define  t h e  h eight an d widt h .Fo r  example ,new Heig h t  andnewW i dt h belowwill b e  t ak en from  a  datab as e a ndusedt o se t themodal di mensi o ns. Any ideash ow to make th i sw o rk ? 
Jav asc ript
var ap p =a ngul ar.m o du le( " app",  ['ui .b o ot s trap']);
app.contro ll er("ct l", f unction($scop e,$uibModa l ) {

  /*  *t he s e values are t akenfrom a dat a base
  *  andshould b e used to s et the h eig htand  wi d t hof the modal*/
 v ar newH eig ht = 10 0;  v arnew Wi dth = 200 ;

  $sc op e. op en  =funct i on () {   v ar  mo dalIn s tance= $ui bMod al .o p en( {
     anim at io n: f als e, 
       wi ndowCla ss: 'the- mod a l',        t emplateUrl:'m yM odalConten t. htm l'
     });
    };

});

HTML
    < s tyle>
   .the -mod al.modal- con tent{       width: 500px ;      h e ig ht: 30 0px;
    } 
  </st yl e>
  </hea d>

  <body ng-app = "ap p" ng-control ler ="ct l " >
  < s cri pt typ e = "text/ng-templa te" id="my Mo d al Content.ht m l"> 
      <p>Some  cont e nt</p>    </scr ipt>

   < butt o n  ty pe="button " class= "btn btn- d efaul t "ng-cl ick ="open () ">O pen m e!</bu t ton >

  </bod y> 

A:
Might  n ot be th e best solution, but Ithinkit so lve s Your pr obl e m.
 pellet_in the_HID lamp, game over._Even if_there_were, I_don't_know if you'd_be able to_excite it given the_dimensions of the_glass_around it.

A:

Don's Lighting Page has a lot of information on lamps from a DIY_perspective._ If_there_isn't_a driver circuit listed in_this site, you probably can't_do it_as a hobby.

 Q:

Set Angular UI Modal height_and_width programmatically

In this_plunk I have an Angular UI modal that has_a related class the-modal to set_the height and_the_width,_they are initially set_at 300px and 500px respectively.
What I_need is to set the height_and the width programmatically when the modal_is opened, say at 100px and_200px.
I cannot use ng-class as_I want_the user to be able_to define the_height and_width. For example,_newHeight and newWidth below will be_taken from a_database and used to set the_modal_dimensions. Any ideas_how_to_make this_work?
Javascript
var app =_angular.module("app",_['ui.bootstrap']);
app.controller("ctl", function($scope,$uibModal)_{

_ /*
  * these values_are_taken from a database
  * and_should be used to_set_the height and width_of the modal
  */
_ var newHeight = 100;
 _var newWidth_= 200;

_ $scope.open = function () {
    var modalInstance_= $uibModal.open({
    _   _ animation:_false,
_  __ _   windowClass: 'the-modal',
  _ _     templateUrl:'myModalContent.html'
_   __  });

   _};

});

HTML
    <style>
 _   .the-modal.modal-content{
 ___    _ width:500px;
    _  _  height:300px;
    __}
   </style>

  </head>

__<body ng-app="app" ng-controller="ctl">

   _<script_type="text/ng-template"_id="myModalContent.html">
    _   <p>Some content</p>
 _  </script>

    <button type="button" class="btn_btn-default" ng-click="open()">Open me!</button>

_  </body>

A:

Might not be_the_best_solution, but I think it solves Your problem.