Skip to content

Commit

Permalink
Deploying to gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
darluc committed Apr 9, 2024
0 parents commit c356417
Show file tree
Hide file tree
Showing 130 changed files with 36,695 additions and 0 deletions.
260 changes: 260 additions & 0 deletions 2015/08/24/angularjs-form/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,260 @@
<!DOCTYPE html>
<html>
<head>
<!-- hexo-inject:begin --><!-- hexo-inject:end --><meta charset="utf-8">

<title>Nested AngularJS Form | Z - Computer &amp; Programming Technology</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="A problem about nested form in AngularJSToday I happened to work with a page having a form nested in another one. I found the nested ng-controller directive was not working. So I tried to replace the">
<meta property="og:type" content="article">
<meta property="og:title" content="Nested AngularJS Form">
<meta property="og:url" content="http://log.zvz.im/2015/08/24/angularjs-form/index.html">
<meta property="og:site_name" content="Z - Computer & Programming Technology">
<meta property="og:description" content="A problem about nested form in AngularJSToday I happened to work with a page having a form nested in another one. I found the nested ng-controller directive was not working. So I tried to replace the">
<meta property="og:image" content="http://ir-cn.amazon-adsystem.com/e/ir?t=imzvz-23&l=as2&o=28&a=B00G3XSBG8">
<meta property="og:updated_time" content="2024-04-09T11:47:24.221Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Nested AngularJS Form">
<meta name="twitter:description" content="A problem about nested form in AngularJSToday I happened to work with a page having a form nested in another one. I found the nested ng-controller directive was not working. So I tried to replace the">
<meta name="twitter:image" content="http://ir-cn.amazon-adsystem.com/e/ir?t=imzvz-23&l=as2&o=28&a=B00G3XSBG8">

<link rel="alternative" href="/atom.xml" title="Z - Computer &amp; Programming Technology" type="application/atom+xml">


<link rel="icon" href="/favicon.png">

<link href="//fonts.proxy.ustclug.org/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/css/style.css">

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-8NRBEZPWYN"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-8NRBEZPWYN');
</script>


<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-8768699638326268",
enable_page_level_ads: true
});
</script><!-- hexo-inject:begin --><!-- hexo-inject:end -->
</head>
<body>
<!-- hexo-inject:begin --><!-- hexo-inject:end --><div id="container">
<div id="wrap">
<div class="outer">
<section id="main"><article id="post-angularjs-form" class="article article-type-post" itemscope itemprop="blogPost">

<div class="article-inner">

<header class="article-header">


<h1 class="article-title" itemprop="name">
Nested AngularJS Form
</h1>


</header>

<div class="article-meta">
<a href="/2015/08/24/angularjs-form/" class="article-date">
<time datetime="2015-08-24T21:25:56.000Z" itemprop="datePublished">2015-08-24</time>
</a>

<div class="article-category">
<a class="article-category-link" href="/tags/AngularJS/">AngularJS</a>
</div>

</div>
<div class="article-entry" itemprop="articleBody">

<h2 id="A-problem-about-nested-form-in-AngularJS"><a href="#A-problem-about-nested-form-in-AngularJS" class="headerlink" title="A problem about nested form in AngularJS"></a>A problem about nested form in AngularJS</h2><p>Today I happened to work with a page having a form nested in another one. I found the nested ng-controller directive was not working. So I tried to replace the FORM tag with DIV tag, and the ng-controller directvie worked again.</p>
<p>The conclusion is that nested FORM is not compiled. I did not find any supporting post about this. If you know the reason, please let me know.</p>
<p><a href="http://jsbin.com/yitiku/edit?html,js,output" target="_blank" rel="external">This is an example</a></p>
<p><strong>Related book:</strong> <a href="http://www.amazon.cn/gp/product/B00G3XSBG8/ref=as_li_qf_sp_asin_tl?ie=UTF8&camp=536&creative=3200&creativeASIN=B00G3XSBG8&linkCode=as2&tag=imzvz-23" target="_blank" rel="external">用AngularJS开发下一代Web应用</a><img src="http://ir-cn.amazon-adsystem.com/e/ir?t=imzvz-23&l=as2&o=28&a=B00G3XSBG8" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;"></p>





</div>
</div>


<nav id="article-nav">

<a href="/2015/08/31/doctrine-generate/" id="article-nav-newer" class="article-nav-link-wrap">
<strong class="article-nav-caption">Newer</strong>
<div class="article-nav-title">

Howto generate entities from table with Doctrine

</div>
</a>


</nav>


</article>

<script type='text/javascript'>window.notIndexPage = true;</script>


<section id="comments">
<div id="disqus_thread">
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'imzvz'; // required: replace example with your forum shortname

/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>
Please enable JavaScript to view the <a href="//disqus.com/?ref_noscript">comments powered by Disqus.</a>
</noscript>
</div>
</section>
</section>
<aside id="sidebar">
<nav class="menus">
<ul>
<li><a href="/"><i class="icon icon-home"></i></a></li>

<li><a href="/archives"><i class="icon icon-fenlei"></i></a></li>


<li><a href="/tags"><i class="icon icon-tag"></i></a></li>


</ul>
</nav>
<a id="go-top" href="#"><i class="icon icon-up"></i></a>
</aside>
</div>
<footer id="footer">

<div id="footer-info" class="inner">
Linked with:&nbsp;&nbsp;&nbsp;
<a href="http://mritd.me" target="_blank">mritd.me</a>&nbsp;&nbsp;&nbsp;
<a href="https://www.mghio.cn" target="_blank">mghio's blog</a>&nbsp;&nbsp;&nbsp;
</div>
</footer>
</div>
<nav id="mobile-nav">

<a href="/" class="mobile-nav-link">Home</a>

<a href="/archives" class="mobile-nav-link">Archives</a>

<a href="/tags" class="mobile-nav-link">Tag</a>

</nav>

<script>
var disqus_shortname = 'imzvz';

var disqus_url = 'http://log.zvz.im/2015/08/24/angularjs-form/';

(function(){
var dsq = document.createElement('script');
dsq.type = 'text/javascript';
dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>


<script src="//cdn.bootcss.com/jquery/2.0.3/jquery.min.js"></script>

<script>
if(window.notIndexPage)
$(function(){
$.get('//manage.zvz.im/api/posts/adv', function(res) {
if(res.data.length) {
$.each(res.data, function(idx, adv) {
if(idx == 0) {
if($('h2:first').length > 0) {
$(adv).insertBefore('h2:first');
return;
}
}
$(adv).insertAfter('.article-inner');
});
}
});
});
</script>



<link rel="stylesheet" href="/fancybox/jquery.fancybox.css">
<script src="/fancybox/jquery.fancybox.pack.js"></script>


<script src="/js/require.min.js"></script>
<script src="/js/script.js"></script>


<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
processEscapes: true
}
});
</script>

<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
}
});
</script>

<script type="text/x-mathjax-config">
MathJax.Hub.Queue(function() {
var all = MathJax.Hub.getAllJax(), i;
for(i=0; i < all.length; i += 1) {
all[i].SourceElement().parentNode.className += ' has-jax';
}
});
</script>

<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>



</div><!-- hexo-inject:begin --><!-- Begin: Injected MathJax -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({"tex2jax":{"inlineMath":[["$","$"],["\\(","\\)"]],"skipTags":["script","noscript","style","textarea","pre","code"],"processEscapes":true},"TeX":{"equationNumbers":{"autoNumber":"AMS"}}});
</script>

<script type="text/x-mathjax-config">
MathJax.Hub.Queue(function() {
var all = MathJax.Hub.getAllJax(), i;
for(i=0; i < all.length; i += 1) {
all[i].SourceElement().parentNode.className += ' has-jax';
}
});
</script>

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js">
</script>
<!-- End: Injected MathJax -->
<!-- hexo-inject:end -->
</body>
</html>
Loading

0 comments on commit c356417

Please sign in to comment.