Answer the question
In order to leave comments, you need to log in
Why behavior of angularjs tag is different from normal tag?
If create -
<div class="main-container">
<div class="some-form">
<div></div>
</div>
</div>
*
margin: 0
padding: 0
html, body
height: 100%
background: #202020
.main-container
width: 100%
height: 100%
min-height: 100%
.registration-form
width: 100%
height: 100%
background: #202020
<div class="main-container">
<some-form>
</some-form>
</div>
*
margin: 0
padding: 0
html, body
height: 100%
background: #202020
.main-container
width: 100%
height: 100%
min-height: 100%
registration-form
width: 100%
height: 100%
background: #202020
import * as angular from 'angular';
export default function registrationFormDirective(): any {
return {
strict: 'AE',
template: '<div></div>',
link: ($scope, element, attributes)=>{
}
};
}
Answer the question
In order to leave comments, you need to log in
in html you get a matryoshka of elements:
<div class="main-container">
<some-form>
<div></div>
</some-form>
</div>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question