以下代码生成的进程总数是多少?
if(fork() && fork()){
fork();
}
if(fork() ||fork()){
fork();
fork();
}
AND会表现为短路运算符,因此第二个分支只会为父级而不是子级执行。之后怎么办?
答案 0 :(得分:0)
<notification message="{{message}}"></notification>
//When pass through controller object, It's not working
$scope.htmlContent = '<p>Hello</p><notification message="{{message}}"></notification>';